Since: 4.5.2 (07.03.2014)
Author: Vitaliy Demidov (vitaliy@scalr.com)
Inheritance: extends Scalr\Model\AbstractEntity
示例#1
0
 /**
  * @test
  * @dataProvider providerBuildQuery
  */
 public function testBuildQuery($criteria, $conjunction, $sql)
 {
     $entity = new Entity1();
     $sqlResult = $entity->_buildQuery($criteria, $conjunction);
     $this->assertEquals(trim($sqlResult['where']), trim($sql));
 }