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

it_should_be_able_to_build_a_stapler_uploaded_file_object_from_a_string_file_path() public method

Test that the file factory can create a Codesleeve\Stapler\UploadedFile object from a string filepath.
    public function it_should_be_able_to_build_a_stapler_uploaded_file_object_from_a_string_file_path()
    {
        $uploadedFile = File::create(__DIR__ . '/../Fixtures/empty.gif');
        $this->assertInstanceOf('Codesleeve\\Stapler\\Interfaces\\File', $uploadedFile);
    }