ParagonIE\EasyDB\Tests\ConstructorFailedTest::testConstructorFailed PHP Method

testConstructorFailed() public method

public testConstructorFailed ( $dsn, null $username = null, null $password = null, array $options = [] )
$dsn
$username null
$password null
$options array
    public function testConstructorFailed($dsn, $username = null, $password = null, $options = [])
    {
        $this->expectException(ConstructorFailed::class);
        Factory::create($dsn, $username, $password, $options);
    }
ConstructorFailedTest