public function testIgnorePriority() { $insert = new Insert('foo'); $insert->ignore(true)->values(array('name' => 'hello')); list($sql) = $insert->toQuery(); $this->assertEqualsSql('INSERT IGNORE INTO foo (name) VALUES (:name_0)', $sql); }