def METHOD_NAME(self):
    for mode in distribution_modes:
        distribution_policy: DistributionPolicy = DistributionPolicy(
                offer_expires_after_seconds = 10.0,
                mode = mode,
                name = "fakeName",
            )
        serialized_json = _serialize_to_json(distribution_policy, "DistributionPolicy")
        print(serialized_json)
        deserialized_json = _deserialize_from_json("DistributionPolicy", serialized_json)
        print(deserialized_json)
        self.assertEqual(_serialize_to_json(deserialized_json, "DistributionPolicy"),
                         _serialize_to_json(distribution_policy, "DistributionPolicy"))
        print("--------------------------------------------------------\n")