def METHOD_NAME(self, post_raw_event):
    response = self.make_request(data=self.build_compromised_status_changed_notification())
    self.assertEqual(response.status_code, 200)
    # check posted raw event
    self.assertEqual(len(post_raw_event.call_args_list), 1)
    routing_key, raw_event = post_raw_event.call_args_list[0].args
    self.assertEqual(routing_key, "wsone_events")
    self.assertEqual(raw_event["request"]["ip"], "127.0.0.1")
    self.assertEqual(raw_event["observer"]["hostname"], self.instance.hostname)
    self.assertEqual(raw_event["wsone_event"]["DeviceId"], 10000)
    self.assertEqual(raw_event["wsone_event"]["EventType"], "Compromised Status Changed")
    self.assertEqual(raw_event["wsone_instance"]["pk"], self.instance.pk)