use Symfony\Component\Mime\Exception\RuntimeException;
use Symfony\Component\Mime\MimeTypeGuesserInterface;
use Symfony\Component\Mime\MimeTypes;
/**
* @requires extension fileinfo
*/
class MimeTypesTest extends AbstractMimeTypeGuesserTestCase
{ protected function getGuesser(): MimeTypeGuesserInterface
{ return new MimeTypes();
} public function testUnsupportedGuesser() { $guesser =
$this->
getGuesser();
$guesser->
registerGuesser(new class() implements MimeTypeGuesserInterface
{ public function isGuesserSupported(): bool
{ return false;
}