ParagonIE\EasyDB\Tests\Is1DArrayTest::testSingleThrowsException PHP Метод

testSingleThrowsException() публичный Метод

public testSingleThrowsException ( $dsn, null $username = null, null $password = null, array $options = [] )
$dsn
$username null
$password null
$options array
    public function testSingleThrowsException($dsn, $username = null, $password = null, $options = [])
    {
        $db = Factory::create($dsn, $username, $password, $options);
        $this->expectException(InvalidArgumentException::class);
        $db->single('SELECT "column"', [[1]]);
    }