@Test void testLogAndOverride() { DuplicateCommandHandlerResolver testSubject = DuplicateCommandHandlerResolution.logAndOverride(); MessageHandler<? super CommandMessage<?>> result = testSubject.resolve("test", initialHandler, duplicateHandler); assertEquals(duplicateHandler, result); }
public static DuplicateCommandHandlerResolver logAndOverride() { return LoggingDuplicateCommandHandlerResolver.instance(); }
DuplicateCommandHandlerResolution { public static DuplicateCommandHandlerResolver logAndOverride() { return LoggingDuplicateCommandHandlerResolver.instance(); } }
DuplicateCommandHandlerResolution { public static DuplicateCommandHandlerResolver logAndOverride() { return LoggingDuplicateCommandHandlerResolver.instance(); }  }
DuplicateCommandHandlerResolution { public static DuplicateCommandHandlerResolver logAndOverride() { return LoggingDuplicateCommandHandlerResolver.instance(); }  static DuplicateCommandHandlerResolver logAndOverride(); static DuplicateCommandHandlerResolver rejectDuplicates(); static DuplicateCommandHandlerResolver silentOverride(); }
DuplicateCommandHandlerResolution { public static DuplicateCommandHandlerResolver logAndOverride() { return LoggingDuplicateCommandHandlerResolver.instance(); }  static DuplicateCommandHandlerResolver logAndOverride(); static DuplicateCommandHandlerResolver rejectDuplicates(); static DuplicateCommandHandlerResolver silentOverride();  }