ParagonIE\EasyDB\Tests\GetDriverTest::testGetDriver PHP Method

testGetDriver() public method

public testGetDriver ( $dsn, string | null $username = null, string | null $password = null, array $options = [], string $expectedDriver )
$dsn
$username string | null
$password string | null
$options array
$expectedDriver string
    public function testGetDriver($dsn, $username = null, $password = null, $options = [], $expectedDriver)
    {
        $db = Factory::create($dsn, $username, $password, $options);
        $this->assertEquals($db->getDriver(), $expectedDriver);
    }
GetDriverTest