function testEscapeXML() { $string1 = new SafeString("<>\"'"); $this->assertEquals($string1->toXML(), '<>"''); }