public function testDocblock() { $class = new PhpClass(); $this->assertNotNull($class->getDocblock()); $this->assertSame($class, $class->setDocblock('foo')); $this->assertEquals('foo', $class->getDocblock()->getShortDescription()); }