public testInsertManyNoFieldsThrowsPdoException ( callable $cb ) | ||
$cb | callable |
public function testInsertManyNoFieldsThrowsPdoException(callable $cb)
{
$db = $this->EasyDBExpectedFromCallable($cb);
$this->expectException(PDOException::class);
$db->insertMany('irrelevant_but_valid_tablename', [[], [1]]);
}