public function viewHelperDoesNotModifyTextWithoutLineBreaks() { $this->viewHelper->expects($this->once())->method('renderChildren')->will($this->returnValue('<p class="bodytext">Some Text without line breaks</p>')); $actualResult = $this->viewHelper->render(); $this->assertEquals('<p class="bodytext">Some Text without line breaks</p>', $actualResult); }