public function testAllowsNewLines() { $testString = "New String \n New Line"; $description = new Description($testString); $this->assertEquals(str_replace("\n", "\\n", $testString), $description->getEscapedValue()); }