| Conditions | 1 |
| Paths | 1 |
| Total Lines | 13 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 11 | public function testGenerateInsertQuery() |
||
| 12 | { |
||
| 13 | $insertQuery = $this->handler->createInsertQuery(); |
||
| 14 | |||
| 15 | $insertQuery->insertInto('query_test') |
||
| 16 | ->set('val1', '?') |
||
| 17 | ->set('val2', 'NULL'); |
||
| 18 | |||
| 19 | $this->assertEquals( |
||
| 20 | 'INSERT INTO query_test (val1, val2) VALUES (?, NULL)', |
||
| 21 | $insertQuery->getQuery() |
||
| 22 | ); |
||
| 23 | } |
||
| 24 | } |
||
| 25 |