public function testConstructor()
 {
     $queryBuilder = $this->getDoctrineOrmQueryBuilder();
     $queryBuilder->setParameter('field', 'value');
     $processor = new DoctrineOrmProcessor($queryBuilder);
     $this->assertEquals(DoctrineOrmProcessor::WHERE_OPERATION_MODE_AND, $processor->getWhereOperationMode());
     $this->assertInstanceOf('\\Doctrine\\ORM\\QueryBuilder', $this->propertyGetValue($processor, 'queryBuilder'));
     $this->assertEquals(1, count($this->propertyGetValue($processor, 'queryBuilder')->getParameters()));
 }
 /**
  * @param  DoctrineOrmProcessor $processor
  * @param  ExprQueue            $queue
  *
  * @return QueryBuilder
  */
 protected function processQueue(DoctrineOrmProcessor $processor, ExprQueue $queue)
 {
     return $processor->process($queue);
 }