Example #1
0
 public function testUseless()
 {
     $key = 'test';
     $value = uniqid('test:');
     $o = new XmlView();
     $this->assertNull($o->assign($key, $value));
 }
Example #2
0
 public function testUseless()
 {
     $key = 'test';
     $value = uniqid('test:');
     $o = new XmlView();
     $this->assertEmpty($o->append($key, $value));
 }
Example #3
0
 public function testUseless()
 {
     $o = new XmlView();
     $this->assertEquals('', $o->display('test'));
 }
Example #4
0
 public function testEmptyAtInitialization()
 {
     $o = new XmlView();
     $this->assertEquals('', $o->getContent());
 }
Example #5
0
 public function testEmptyAtInitialization()
 {
     $o = new XmlView();
     $this->assertEquals([], $o->getMetaHeaders());
 }