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