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