'Test that the _getCipher method returns the correct cipher.'

def test_getCipher(self):

    ciphers = transport.SSHCiphers('A', 'B', 'C', 'D')
    iv = key = ('\x00' * 16)
    for (cipName, (algClass, keySize, counter)) in ciphers.cipherMap.items():
        cip = ciphers._getCipher(cipName, iv, key)
        if (cipName == 'none'):
            self.assertIsInstance(cip, transport._DummyCipher)
        else:
            self.assertIsInstance(cip.algorithm, algClass)
