def METHOD_NAME(self):
    payload = (
        '{"message_id": "63026767-029d-417e-9148-77f4da49f49a", '
        '"message_type": "scan.start", '
        '"group_id": "866350e8-1492-497e-b12b-c079287d51dd", '
        '"created": 1628512774.0}'
    )
    Message.message_type = MessageType.SCAN_START  # hack a message type
    message = Message.load(payload)
    self.assertEqual(
        message.message_id, UUID('63026767-029d-417e-9148-77f4da49f49a')
    )
    self.assertEqual(
        message.group_id, '866350e8-1492-497e-b12b-c079287d51dd'
    )
    self.assertEqual(
        message.created,
        datetime.fromtimestamp(1628512774.0, tz=timezone.utc),
    )
    Message.message_type = None