def METHOD_NAME(self):
    content = json.dumps({
        "multicast_id": 5174939174563864884,
        "success": 0,
        "failure": 1,
        "canonical_ids": 0,
        "results": [
            {
                "error": "InvalidRegistration"
            }
        ]
    })
    self._m_resp_text.callback(content)
    self._m_request.callback(self._m_response)
    self._m_request.return_value = self._m_response
    result = yield self.gcm.send(self.m_payload)
    assert len(result.failed) == 1
    assert len(result.success) == 0