'Raise L{NotImplementedError} if pyOpenSSL is not based on cryptography.'

def test_missingBinding(self):

    def raiser(self):
        raise NotImplementedError
    self.patch(sslverify._OpenSSLECCurve, '_getBinding', raiser)
    self.assertRaises(NotImplementedError, sslverify._OpenSSLECCurve, sslverify._defaultCurveName)
