Exemplo n.º 1
0
 public function testConstructLoopsParameter()
 {
     $app = new WebApplication(__DIR__ . "/app", "/testpage");
     $other = new Loops(new ArrayObject());
     $loops = $app->getLoops();
     $this->assertNotSame($other, $loops);
     $page = new Testpage([], $other);
     $this->assertSame($other, $page->getLoops());
 }