示例#1
0
文件: NQMTest.php 项目: cocur/nqm
 /**
  * @test
  *
  * @covers Cocur\NQM\NQM::getQuery()
  */
 public function getQueryShouldReturnQuery()
 {
     $this->queryLoader->shouldReceive('getQuery')->with('foo')->once()->andReturn('SELECT * FROM table;');
     $this->assertEquals('SELECT * FROM table;', $this->nqm->getQuery('foo'));
 }