EventRouting extends MessageRouting<EventMessage, EventContext, Set<I>> implements EventRoute<I, EventMessage> { @Override public final EventRoute<I, EventMessage> defaultRoute() { return (EventRoute<I, EventMessage>) super.defaultRoute(); } private  EventRouting(EventRoute<I, EventMessage> defaultRoute); @CanIgnoreReturnValue static EventRouting<I> withDefault(EventRoute<I, EventMessage> defaultRoute); static EventRouting<I> withDefaultByProducerId(); @Override final EventRoute<I, EventMessage> defaultRoute(); @CanIgnoreReturnValue EventRouting<I> replaceDefault(EventRoute<I, EventMessage> newDefault); @CanIgnoreReturnValue EventRouting<I> route(Class<E> eventType, EventRoute<I, ? super E> via); @CanIgnoreReturnValue EventRouting<I> routeStateUpdates(StateUpdateRouting<I> routing); Optional<EventRoute<I, M>> get(Class<M> eventClass);  }
@Test @DisplayName("have default route") void haveDefaultRoute() { assertNotNull(eventRouting.defaultRoute()); }