def test_send(self):
        message = self.create_outgoing_message()
        config = {"sendsms_url": "http://example.com"}
        backend = VumiBackend(None, "vumi", **config)
        kwargs = backend.prepare_request(message.id, message.text,
                                         [message.connections[0].identity], {})
        with patch('rapidsms.backends.vumi.outgoing.requests.post') as mock_post:
            backend.send(message.id, message.text,
                         [message.connections[0].identity], {})
        mock_post.assert_called_once_with(**kwargs)
RMSPROP optimization core.
dataset/ETHPy150Open rapidsms/rapidsms/rapidsms/backends/vumi/tests.py/VumiSendTest.test_send--crossover with--dataset/ETHPy150Open zomux/deepy/deepy/trainers/cores/rmsprop.py/rmsprop_core