def METHOD_NAME(self):
    queue_and_match = JobMatchingMode(queue_and_match_mode = {})
    schedule_and_suspend = JobMatchingMode(
        schedule_and_suspend_mode = ScheduleAndSuspendMode(schedule_at = datetime.datetime.utcnow()))
    suspend_mode = JobMatchingMode(suspend_mode = {})
    for m in [queue_and_match, schedule_and_suspend, suspend_mode]:
        serialized_json = _serialize_to_json(m, "JobMatchingMode")
        deserialized_json = _deserialize_from_json("JobMatchingMode", serialized_json)
        self.assertEqual(_serialize_to_json(m, "JobMatchingMode"),
                         _serialize_to_json(deserialized_json, "JobMatchingMode"))