JD\Cloudder\Test\CloudinaryWrapperTest::it_should_returns_https_image_url_when_calling_secure_show PHP Method

it_should_returns_https_image_url_when_calling_secure_show() public method

    public function it_should_returns_https_image_url_when_calling_secure_show()
    {
        // given
        $filename = 'filename';
        $this->config->shouldReceive('get')->with('cloudder.scaling')->once()->andReturn(array());
        $this->cloudinary->shouldReceive('cloudinary_url')->once()->with($filename, ['secure' => true]);
        // when
        $this->cloudinary_wrapper->secureShow($filename);
    }
CloudinaryWrapperTest