예제 #1
0
 /**
  * @dataProvider getExceptionProvider
  */
 function testGetException($extensions, $type, $name, $exxceptionName)
 {
     $this->setExpectedException($exxceptionName);
     $manager = new ExtensionManager();
     foreach ($extensions as $extension) {
         $manager->addExtension($extension['instance'], $extension['type']);
     }
     $manager->getExtension($type, $name);
 }