/** * @expectedException Exception * @expectedExceptionMessageRegExp /can process the token value <@import>$/ */ public function testCollisionInstructorException() { $iniFile = new Advini(); $iniFile->addInstructor(new ImportInstructor()); $iniFile->addInstructor(new ImportInstructor(), ConstantInstructor::class); }