You are here

public function MimeTypeTest::testGuessFileWithUnknownExtension in Zircon Profile 8

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

File

vendor/symfony/http-foundation/Tests/File/MimeType/MimeTypeTest.php, line 48

Class

MimeTypeTest
@requires extension fileinfo

Namespace

Symfony\Component\HttpFoundation\Tests\File\MimeType

Code

public function testGuessFileWithUnknownExtension() {
  $this
    ->assertEquals('application/octet-stream', MimeTypeGuesser::getInstance()
    ->guess(__DIR__ . '/../Fixtures/.unknownextension'));
}