public function testDocComment() { $definition = new Definition('Class1'); $definition->setDocComment('myDoc'); $this->assertSame('myDoc', $definition->getDocComment()); }