public function testFrom() { $source = $this->getMock('PHPCR\\Query\\QOM\\SourceInterface', array(), array()); $qb = new QueryBuilder($this->qf); $qb->from($source); $this->assertEquals($source, $qb->getSource()); }
public function testFrom() { $source = $this->getMock('PHPCR\\Query\\QOM\\SourceInterface', array(), array()); $qb = new QueryBuilder($this->qf); $qb->from($source); $this->assertEquals($source, $qb->getSource()); }