public function testLastLineOfDocBlock() { $parser = new Parser(); $this->assertTrue($parser->lastLineOfDocBlock(' comment */')); $this->assertFalse($parser->lastLineOfDocBlock('/* comment')); $this->assertFalse($parser->lastLineOfDocBlock('comment')); }