EnricherBuilder { public abstract Enricher build(); protected  EnricherBuilder(); B remove(Class<M> eventClass, Class<T> enrichmentClass); abstract Enricher build();  }
@Test @DisplayName("allow multiple enrichment classes per source class") void allowMultipleEnrichments() { builder.add(EbtOrderCreated.class, StringValue.class, (e, c) -> StringValue.getDefaultInstance()) .add(EbtOrderCreated.class, BoolValue.class, (e, c) -> BoolValue.of(true)); EventEnricher enricher = builder.build(); assertThat(enricher).isNotNull(); }