/** * @test */ public function bulkInsert() { $this->connection->expects($this->once())->method('executeUpdate')->with('INSERT INTO "aTestTable" ("aField") VALUES (?), (?)', ['aValue', 'anotherValue'])->will($this->returnValue(2)); $this->connection->bulkInsert('aTestTable', [['aField' => 'aValue'], ['aField' => 'anotherValue']], ['aField']); }