public function testExtensionWithInvalidAwareInterface()
 {
     $dir = 'RDV\\Bundle\\MigrationBundle\\Tests\\Unit\\Migration\\Fixtures\\Extension';
     $this->setExpectedException('\\RuntimeException', sprintf('The method "%s\\InvalidAwareInterfaceExtensionAwareInterface::setInvalidAwareInterfaceExtension"' . ' was not found.', $dir));
     $manager = new MigrationExtensionManager();
     $manager->addExtension('test', new InvalidAwareInterfaceExtension());
 }
 /**
  * Sets extensions for the given migration
  *
  * @param Migration $migration
  */
 protected function setExtensions(Migration $migration)
 {
     if ($this->extensionManager) {
         $this->extensionManager->applyExtensions($migration);
     }
 }