public function testWhere() { $constraint = $this->getMock('PHPCR\\Query\\QOM\\ConstraintInterface', array(), array()); $qb = new QueryBuilder($this->qf); $qb->where($constraint); $this->assertEquals($constraint, $qb->getConstraint()); }
public function testWhere() { $constraint = $this->getMock('PHPCR\\Query\\QOM\\ConstraintInterface', array(), array()); $qb = new QueryBuilder($this->qf); $qb->where($constraint); $this->assertEquals($constraint, $qb->getConstraint()); }