ParagonIE\EasyDB\Tests\UpdateTest::testUpdateArgConditionsKeyThrowsException PHP Method

testUpdateArgConditionsKeyThrowsException() public method

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