/** * Building an index should fail if class definitions are not unique. * * @param Autoloader $autoloader An Autoloader which should fail * * @dataProvider provideTestFailBuildIndex * @expectedException malkusch\autoloader\AutoloaderException_IndexBuildCollision * @see Autoloader::buildIndex() * @return void */ public function testFailBuildIndex(Autoloader $autoloader) { $autoloader->buildIndex(); }