def test_registerCheckerWithInterface(self):
        checker = SSHProtocolChecker()
        self.assertEquals(checker.credentialInterfaces, [])
        checker.registerChecker(SSHPublicKeyDatabase(), IUsernamePassword)
        self.assertEquals(checker.credentialInterfaces, [IUsernamePassword])
        self.assertIsInstance(checker.checkers[IUsernamePassword],
                              SSHPublicKeyDatabase)
Client's :class:`Capabilities`
dataset/ETHPy150Open kuri65536/python-for-android/python-modules/twisted/twisted/conch/test/test_checkers.py/SSHProtocolCheckerTestCase.test_registerCheckerWithInterface--crossover with--dataset/ETHPy150Open ncclient/ncclient/ncclient/transport/session.py/Session.client_capabilities