/** * @return void * @covers \pdepend\reflection\api\StaticReflectionInterface * @group reflection * @group reflection::api * @group unittest */ public function testHasConstantReturnsFalseWhenConstantNotExists() { $interface = new StaticReflectionInterface(__CLASS__, ''); $interface->initConstants(array('T_BAR' => 'droelf')); $this->assertFalse($interface->hasConstant('T_FOO')); }