ParagonIE\EasyDB\Tests\InsertGetTest::testInsertGetTableNameThrowsException PHP Method

testInsertGetTableNameThrowsException() public method

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