/** * Check if sanitizeSelectPart works as expected * * @dataProvider getQueryDataProvider * @test */ public function getQuery($table, $conf, $expected) { $result = $this->cObj->getQuery($table, $conf, TRUE); foreach ($expected as $field => $value) { $this->assertEquals($value, $result[$field]); } }