You are here

public function FileTest::testGuessExtensionWithoutGuesser in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/http-foundation/Tests/File/FileTest.php \Symfony\Component\HttpFoundation\Tests\File\FileTest::testGuessExtensionWithoutGuesser()

File

vendor/symfony/http-foundation/Tests/File/FileTest.php, line 31

Class

FileTest

Namespace

Symfony\Component\HttpFoundation\Tests\File

Code

public function testGuessExtensionWithoutGuesser() {
  $file = new File(__DIR__ . '/Fixtures/directory/.empty');
  $this
    ->assertNull($file
    ->guessExtension());
}