Exemplo n.º 1
0
 public function testFunctionNotFound()
 {
     $foo = new E\Func('abracadabra');
     try {
         $foo->interpret($this->ctx);
         $this->assertTrue(false, 'FunctionNotFoundException should be thrown');
     } catch (E\FunctionNotFoundException $e) {
     }
 }