Пример #1
0
 public function testStringRepresentationReflectsDoctype()
 {
     $this->view->doctype('HTML4_STRICT');
     $this->helper->direct('some content', 'foo');
     $test = $this->helper->toString();
     $this->assertNotContains('/>', $test);
     $this->assertContains('some content', $test);
     $this->assertContains('foo', $test);
 }