示例#1
0
 public function testUseless()
 {
     $key = 'test';
     $value = uniqid('test:');
     $o = new XhtmlView();
     $this->assertNull($o->assign($key, $value));
 }
示例#2
0
 public function testUseless()
 {
     $key = 'test';
     $value = uniqid('test:');
     $o = new XhtmlView();
     $this->assertEmpty($o->append($key, $value));
 }
示例#3
0
 public function testEmptyAtInitialization()
 {
     $o = new XhtmlView();
     $this->assertEquals([], $o->getScripts());
 }
示例#4
0
 public function testUseless()
 {
     $o = new XhtmlView();
     $this->assertEquals('', $o->display('test'));
 }
示例#5
0
 public function testEmptyAtInitialization()
 {
     $o = new XhtmlView();
     $this->assertEquals('', $o->getSetting('inexistent'));
 }
示例#6
0
 public function testEmptyAtInitialization()
 {
     $o = new XhtmlView();
     $this->assertEquals('', $o->getContent());
 }