/** * @test */ public function getParametersDescriptionContainsDelimiter() { $commentText = <<<'comment' Mixin for parameter $parameter - Description of the parameter - really fancy Styleguide 2.1.1. comment; $testSection = new Section($commentText); $parameters = $testSection->getParameters(); $description = $parameters[0]->getDescription(); $expected = 'Description of the parameter - really fancy'; $this->assertEquals($expected, $description); }