@Test @DisplayName("have default route") void haveDefaultRoute() { assertNotNull(commandRouting.defaultRoute()); assertTrue(commandRouting.defaultRoute() instanceof DefaultCommandRoute); }
@Override public final CommandRoute<I, CommandMessage> defaultRoute() { return (CommandRoute<I, CommandMessage>) super.defaultRoute(); }
CommandRouting extends MessageRouting<CommandMessage, CommandContext, I> { @Override public final CommandRoute<I, CommandMessage> defaultRoute() { return (CommandRoute<I, CommandMessage>) super.defaultRoute(); } }
CommandRouting extends MessageRouting<CommandMessage, CommandContext, I> { @Override public final CommandRoute<I, CommandMessage> defaultRoute() { return (CommandRoute<I, CommandMessage>) super.defaultRoute(); } private  CommandRouting(CommandRoute<I, CommandMessage> defaultRoute); }
CommandRouting extends MessageRouting<CommandMessage, CommandContext, I> { @Override public final CommandRoute<I, CommandMessage> defaultRoute() { return (CommandRoute<I, CommandMessage>) super.defaultRoute(); } private  CommandRouting(CommandRoute<I, CommandMessage> defaultRoute); static CommandRouting<I> newInstance(Class<I> idClass); @Override final CommandRoute<I, CommandMessage> defaultRoute(); @CanIgnoreReturnValue CommandRouting<I> replaceDefault(CommandRoute<I, CommandMessage> newDefault); @CanIgnoreReturnValue CommandRouting<I> route(Class<M> commandType, CommandRoute<I, M> via); Optional<CommandRoute<I, M>> get(Class<M> commandClass); }
CommandRouting extends MessageRouting<CommandMessage, CommandContext, I> { @Override public final CommandRoute<I, CommandMessage> defaultRoute() { return (CommandRoute<I, CommandMessage>) super.defaultRoute(); } private  CommandRouting(CommandRoute<I, CommandMessage> defaultRoute); static CommandRouting<I> newInstance(Class<I> idClass); @Override final CommandRoute<I, CommandMessage> defaultRoute(); @CanIgnoreReturnValue CommandRouting<I> replaceDefault(CommandRoute<I, CommandMessage> newDefault); @CanIgnoreReturnValue CommandRouting<I> route(Class<M> commandType, CommandRoute<I, M> via); Optional<CommandRoute<I, M>> get(Class<M> commandClass);  }