'When called with arguments other than string argument for its first
parameter or more than two arguments, :py:obj:`Connection.send` raises
:py:obj:`TypeError`.'

def test_wrong_args(self):

    connection = Connection(Context(TLSv1_METHOD), None)
    self.assertRaises(TypeError, connection.send)
    self.assertRaises(TypeError, connection.send, object())
    self.assertRaises(TypeError, connection.send, 'foo', object(), 'bar')
