public function testProperty() { $p = Type::ofClass("Hediet\\Types\\Test\\MyClass")->getProperty("name"); $this->assertEquals("The name.", $p->getDescription()); $this->assertEquals("Hediet\\Types\\Test\\MyClass|string", $p->getType()->getName()); }