def METHOD_NAME(self):
    data = {"a": "b"}
    input_msg = '{"a": "b"}'
    expected_msg = json.dumps(data, indent=2)
    event = CWLogEvent("group_name", {"message": input_msg})
    result = self.formatter.map(event)
    self.assertEqual(result.message, expected_msg)