/**
  * @dataProvider dataProviderSuccess
  */
 public function testConstructor($expression)
 {
     $expr = new OrExpr($expression);
     $this->assertTrue(is_string($expr->getName()));
     $this->assertEquals('or', $expr->getExpression());
     $this->assertEquals('or', $expr->getOperator());
     $this->assertNull($expr->getField());
     $this->assertTrue(is_array($expr->getValue()));
     $this->assertInstanceOf('\\Cekurte\\Resource\\Query\\Language\\ExprQueue', $expr->getQueue());
 }
 /**
  * @param OrExpr $expr
  */
 protected function processOrExpr(OrExpr $expr)
 {
     $this->setWhereOperationMode(self::WHERE_OPERATION_MODE_OR);
     $this->process($expr->getQueue());
     $this->setWhereOperationMode(self::WHERE_OPERATION_MODE_AND);
 }