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