'If acceptable ciphers are passed, they are used.'

def test_honorsAcceptableCiphersArgument(self):

    @implementer(interfaces.IAcceptableCiphers)
    class FakeAcceptableCiphers(object, ):
        def selectCiphers(self, _):
            return [sslverify.OpenSSLCipher(u'sentinel')]
    opts = sslverify.OpenSSLCertificateOptions(privateKey=self.sKey, certificate=self.sCert, acceptableCiphers=FakeAcceptableCiphers())
    opts._contextFactory = FakeContext
    ctx = opts.getContext()
    self.assertEqual('sentinel', ctx._cipherList)
