You are here

public function MimeTypeTest::testGuessImageWithKnownExtension 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::testGuessImageWithKnownExtension()

File

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

Class

MimeTypeTest
@requires extension fileinfo

Namespace

Symfony\Component\HttpFoundation\Tests\File\MimeType

Code

public function testGuessImageWithKnownExtension() {
  $this
    ->assertEquals('image/gif', MimeTypeGuesser::getInstance()
    ->guess(__DIR__ . '/../Fixtures/test.gif'));
}