### Question:
ProductCategoryEnricher { public Tuple enrichEvent(Tuple event) { if ("PRODUCT".equals(event.getString("type"))) { List<String> names = new ArrayList<>(event.getFieldNames()); List<Object> values = new ArrayList(event.getValues()); names.add("category"); values.add(getCategory(event.getString("product"))); return TupleBuilder.tuple().ofNamesAndValues(names, values); } else { return null; } } ProductCategoryEnricher(RedisTemplate<String, String> redisTemplate); Tuple enrichEvent(Tuple event);  }### Answer:
@Test @Ignore public void testEnrichProductWithCategory() { String event = "{\"user\":\"60571253-8315-40ff-8142-f8d68f9d35f0\",\"product\":\"15\",\"type\":\"PRODUCT\"}"; Tuple enrichedEvent = productCategoryEnricher.enrichEvent(TupleBuilder.fromString(event)); assertEquals("Covers", enrichedEvent.getString("category")); }