コード例 #1
0
 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());
 }