public function testInfersNameFromClassname() { $myObj = new MyCustomType(); $this->assertEquals('MyCustom', $myObj->name); $otherCustom = new OtherCustom(); $this->assertEquals('OtherCustom', $otherCustom->name); }