Пример #1
0
 /**
  *
  */
 public function testRender2()
 {
     $c = Content::create('simple');
     $c->set('content', '');
     $this->assertSame('', $c->render());
     $c->set('content', 'PASS');
     $this->assertSame('PASS', $c->render());
 }
Пример #2
0
 /**
  *
  */
 public function testMultiContent1a()
 {
     $c = new Chrome('multicontent');
     $cont = new Content('simple');
     $cont->set('content', 'PASS');
     $c->clearContent();
     $c->setContent($cont, $cont);
     $d = $c->render();
     $this->assertEquals('PASS|PASS|', $d);
 }