public testInsertManyArgTableThrowsException ( callable $cb ) | ||
$cb | callable |
public function testInsertManyArgTableThrowsException(callable $cb)
{
$db = $this->EasyDBExpectedFromCallable($cb);
$this->expectException(InvalidArgumentException::class);
$db->insertMany('', [['foo' => 1], ['foo' => 2]]);
}