예제 #1
0
파일: TextTest.php 프로젝트: puwenhan/Text
 public function testWrap()
 {
     $text = new Text('foo');
     $this->assertEquals('<p>foo</p>', $text->wrap('<p>', '</p>'));
     $this->assertEquals('|<p>foo</p>|', $text->wrap('|'));
 }