public function testHtmlEntityEncode() { $s = new StringObject("I'll \"walk\" the <b>dog</b> now"); $s->htmlEntityEncode(); $this->assertSame("I'll "walk" the <b>dog</b> now", $s->val()); }
public function testHtmlEntityEncode() { $s = new StringObject("I'll \"walk\" the <b>dog</b> now"); $s->htmlEntityEncode(); $this->assertSame("I'll "walk" the <b>dog</b> now", $s->val()); }