Exemplo n.º 1
0
 public function testCountAll()
 {
     $builder = new BaseBuilder('jobs', $this->db);
     $expectedSQL = "SELECT COUNT(*) AS \"numrows\" FROM \"jobs\"";
     $this->assertEquals($expectedSQL, $builder->countAll(true));
 }