Exemplo n.º 1
0
 /**
  * @depends testChild
  */
 public function testChildSetModifiesParent()
 {
     $scope1 = new Scope();
     $scope2 = $scope1->newChild([], false, false, true);
     $scope2->test = 5;
     $this->assertEquals(5, $scope1->test);
     $this->assertEquals(5, $scope2->test);
 }