public function testOrWhere()
 {
     $dynamicOperand = $this->getMock('PHPCR\\Query\\QOM\\ConstraintInterface', array(), array());
     $this->qf = $this->getMock('PHPCR\\Query\\QOM\\QueryObjectModelFactoryInterface', array(), array());
     $this->qf->expects($this->once())->method('orConstraint');
     $constraint1 = $this->getMock('PHPCR\\Query\\QOM\\ConstraintInterface', array(), array());
     $constraint2 = $this->getMock('PHPCR\\Query\\QOM\\ConstraintInterface', array(), array());
     $qb = new QueryBuilder($this->qf);
     $qb->where($constraint1);
     $qb->orWhere($constraint2);
 }