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