예제 #1
0
 public function testGetSetPlainCss()
 {
     $view = new View();
     $this->assertEquals('<style type="text/css"></style>', $view->getPlainCss());
     $view->setPlainCss('some');
     $this->assertEquals('<style type="text/css">some</style>', $view->getPlainCss());
     $view->setPlainCss('some2');
     $this->assertEquals('<style type="text/css">some2</style>', $view->getPlainCss());
 }