/** * Test load method reflection for nonexistent method * * @expectedException \ReflectionException * @expectedExceptionMessage Method nonexistentMethod does not exist */ public function testLoadMethodReflectionForNonexistentMethod() { Reflection::loadMethodReflection('FiveLab\\Component\\Reflection\\ReflectionClassTested', 'nonexistentMethod'); }