示例#1
0
 function testHttp_ViewContent()
 {
     $locator = new A_Locator();
     $view = new A_Http_View($locator);
     $str = '<p>Some HTML</p>';
     $view->setContent($str);
     $this->assertEqual($str, $view->getContent());
     $this->assertEqual($str, $view->render());
 }