function testHttp_ViewEscape() { $locator = new A_Locator(); $view = new A_Http_View($locator); $str = '<hr style="foo"> &'; $str_escaped = '<hr style="foo"> &'; $this->assertEqual($str_escaped, $view->escape($str)); }