'Passing C{raiseMinimumTo} along with C{method} to
L{sslverify.OpenSSLCertificateOptions} will cause it to raise an
exception.'

def test_tlsProtocolsNoMethodWithAtLeast(self):

    with self.assertRaises(TypeError) as e:
        sslverify.OpenSSLCertificateOptions(privateKey=self.sKey, certificate=self.sCert, method=SSL.SSLv23_METHOD, raiseMinimumTo=sslverify.TLSVersion.TLSv1_2)
    self.assertEqual(e.exception.args, ('nope',))
