public function test_word_wrap() { $this->assertEquals("this is on a line\nof its own", Helper::word_wrap('this is on a line of its own', 17)); $this->assertEquals("this is on a line<br>of its own", Helper::word_wrap('this is on a line of its own', 17, '<br>')); }