public function testGetMethodThrowsExceptionWhenConstantDoesNotExist() { $class = new PhpClass(); $class->getMethod('foo'); }