StateUpdateRouting extends MessageRouting<EntityState, EventContext, Set<I>> { public static <I> StateUpdateRouting<I> newInstance(Class<I> idClass) { return new StateUpdateRouting<>(idClass); } private  StateUpdateRouting(Class<I> idClass); static StateUpdateRouting<I> newInstance(Class<I> idClass); @Override boolean supports(Class<? extends EntityState> stateType); @CanIgnoreReturnValue StateUpdateRouting<I> route(Class<S> stateClass, StateUpdateRoute<I, S> via);  }
@Test @DisplayName("not accept nulls") void notAcceptNulls() { new NullPointerTester() .setDefault(EventContext.class, emptyContext) .testAllPublicInstanceMethods(StateUpdateRouting.newInstance(Long.class)); }