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