Snc\RedisBundle\Tests\DependencyInjection\Configuration\RedisDsnTest::testPassword PHP Method

testPassword() public method

public testPassword ( string $dsn, string $password )
$dsn string DSN
$password string Password
    public function testPassword($dsn, $password)
    {
        $dsn = new RedisDsn($dsn);
        $this->assertSame($password, $dsn->getPassword());
    }