'When passed a keyword parameter other than C{extraCertificateOptions},
L{sslverify.optionsForClientTLS} raises an exception just like a
normal Python function would.'

def test_extraKeywords(self):

    error = self.assertRaises(TypeError, sslverify.optionsForClientTLS, hostname=u'alpha', someRandomThing=u'beta')
    self.assertEqual(str(error), "optionsForClientTLS()    got    an    unexpected    keyword    argument    'someRandomThing'")
