Beispiel #1
0
 public function setUp()
 {
     parent::setUp();
     $scope = new Scope();
     $this->phil = new Phil(new Tokeniser(), new Parser(), new Evaluator($scope->getEnvironment()));
 }
Beispiel #2
0
 function let()
 {
     $scope = new Scope();
     $this->beConstructedWith($scope->getEnvironment());
 }