':py:obj:`Connection.get_servername` raises :py:obj:`TypeError` if called with any
arguments.'

def test_get_servername_wrong_args(self):

    connection = Connection(Context(TLSv1_METHOD), None)
    self.assertRaises(TypeError, connection.get_servername, object())
    self.assertRaises(TypeError, connection.get_servername, 1)
    self.assertRaises(TypeError, connection.get_servername, 'hello')
