def METHOD_NAME(self):
    now = datetime.datetime.now()
    unique_id = uuid.uuid4()
    data = {"now": now, "unique_id": unique_id, "string": "test"}
    result = {
        "now": now.replace(microsecond=0).isoformat(),
        "unique_id": str(unique_id),
        "string": "test",
    }
    self.assertEqual(fields.serialize_dict(data), result)
    self.assertEqual(fields.serialize_value(data), result)