public function testHasProperty() { $reflection = new ReflectionClass('PHPSA\\Context'); $definition = new RuntimeClassDefinition($reflection); foreach ($reflection->getProperties() as $property) { static::assertTrue($definition->hasProperty($property->getName())); } static::assertFalse($definition->hasProperty('XXXXX')); }