function testEscapeURL() { $string1 = new SafeString("<>\"'"); $this->assertEquals($string1->toURL(), '%3C%3E%22%27'); }