public function testWrap() { $text = new Text('foo'); $this->assertEquals('<p>foo</p>', $text->wrap('<p>', '</p>')); $this->assertEquals('|<p>foo</p>|', $text->wrap('|')); }