Beispiel #1
0
 /**
  *
  */
 public function testFullRender()
 {
     $c = new Chrome('simple');
     $c->setContent('PASS');
     $this->assertSame('PASS', $c->render());
     $this->assertSame('PASS', (string) $c);
 }
Beispiel #2
0
 /**
  *
  */
 public function testMultiContent3()
 {
     $c = new Chrome('multicontent');
     $c->clearContent();
     $c->set('count', 3);
     $c->setContent('PASS', 'PASS');
     $d = $c->render();
     $this->assertEquals('PASS|PASS||', $d);
 }