public function testInterface()
{
$interface = new PhpInterface();
$interface->setDescription('my interface')->setLongDescription('this is my very long description')->setConstant($this->getConstant())->setMethod($this->getMethod());
$interface->generateDocblock();
$this->assertFalse($interface->getDocblock()->isEmpty());
$this->assertNotNull($interface->getMethod(self::METHOD)->getDocblock());
$this->assertNotNull($interface->getConstant(self::CONSTANT)->getDocblock());
}