public function testReturnedExpression()
 {
     $this->assertEquals('true or false', $this->expression->expression());
 }
 /**
  * Check, if given expression evaluates true or false
  *
  * @param Expression $expression
  * @param array      $data
  *
  * @return bool
  */
 public function evaluate(Expression $expression, array $data = array())
 {
     return $this->expressionReader->evaluate($expression->expression(), $data);
 }