/**
  *
  * @dataProvider getLimitStringProvider
  */
 public function testGetLimitString($limit, $expected, $expectedFormatted)
 {
     if (!empty($limit)) {
         $this->queryBuilder->limit($limit[0]);
         if (isset($limit[1])) {
             $this->queryBuilder->offset($limit[1]);
         }
     }
     $this->assertEquals($expected, $this->queryBuilder->getLimitString());
     $this->assertEquals($expectedFormatted, $this->queryBuilder->getLimitString(true));
 }