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