/** * @dataProvider provideInsert * @covers DatabaseBase::insert */ public function testInsert($sql, $sqlText) { $this->database->insert($sql['table'], $sql['rows'], __METHOD__, isset($sql['options']) ? $sql['options'] : array()); $this->assertLastSql($sqlText); }