/** * @expectedException \InvalidArgumentException */ public function testRemoveMethodThrowsExceptionWhenConstantDoesNotExist() { $class = new PhpClass(); $class->removeMethod('foo'); }
/** * @expectedException \InvalidArgumentException */ public function testRemoveMethodThrowsExceptionWhenConstantDoesNotExist() { $class = new PhpClass(); $class->removeMethod('foo'); }