Codesleeve\Stapler\Factories\FileTest::it_should_be_able_to_build_a_stapler_uploaded_file_object_from_a_redirect_url PHP Method

it_should_be_able_to_build_a_stapler_uploaded_file_object_from_a_redirect_url() public method

Test that the file factory can create a Codesleeve\Stapler\UploadedFile object from a redirect url.
    public function it_should_be_able_to_build_a_stapler_uploaded_file_object_from_a_redirect_url()
    {
        $uploadedFile = File::create('https://graph.facebook.com/zuck/picture?type=large');
        $this->assertInstanceOf('Codesleeve\\Stapler\\Interfaces\\File', $uploadedFile);
    }