public function testRemovingExtension()
{
$annotationDriver = \Drest\Mapping\Driver\AnnotationDriver::create(array(__DIR__ . '/../Entities/Typical'));
$annotationDriver->removeExtensions();
$metadataFactory = new MetadataFactory($annotationDriver);
$this->assertCount(0, $metadataFactory->getAllClassNames());
$annotationDriver->addExtension('php');
$this->assertGreaterThan(0, $metadataFactory->getAllClassNames());
}