def METHOD_NAME(self):
    """Validate whether sales event is enriched with corresponding side input data """
    sales_event = {
        "Txid": 1,
        "productname": "Product 1",
        "qty": 1,
        "sales": 97.65
    }
    bonus_points = {"Product 1": 245, "product 3": 433}
    discount_pct = {
        "product 3": 0.87,
        "product 2": 0.35,
        "product 2 XL": 0.56
    }
    category = {"product 1 XL": "furniture", "Product 1": "hardware"}
    enriched_event = transforms.enrich_event(
        json.dumps(sales_event).encode(), bonus_points, discount_pct,
        category)
    sales_event["bonuspoints"] = 245
    sales_event["discountpct"] = 0.0
    sales_event["category"] = "hardware"
    self.assertDictEqual(
        enriched_event[1], sales_event,
        "Mismatch found between sales event and enriched event")