@Test public void testOnMouseUp() { tested.onMouseUp(mock(CanvasMouseUpEvent.class)); verify(lifecycle, times(1)).complete(); verify(lifecycle, never()).rollback(); verify(lifecycle, never()).start(); }
void onMouseUp(final @Observes CanvasMouseUpEvent event) { complete(); }
MouseRequestLifecycle implements CommandRequestLifecycle { void onMouseUp(final @Observes CanvasMouseUpEvent event) { complete(); } }
MouseRequestLifecycle implements CommandRequestLifecycle { void onMouseUp(final @Observes CanvasMouseUpEvent event) { complete(); }  }
MouseRequestLifecycle implements CommandRequestLifecycle { void onMouseUp(final @Observes CanvasMouseUpEvent event) { complete(); }  void listen(Supplier<CommandRequestLifecycle> target); @Override void start(); @Override void rollback(); @Override void complete(); @PreDestroy void destroy(); }
MouseRequestLifecycle implements CommandRequestLifecycle { void onMouseUp(final @Observes CanvasMouseUpEvent event) { complete(); }  void listen(Supplier<CommandRequestLifecycle> target); @Override void start(); @Override void rollback(); @Override void complete(); @PreDestroy void destroy();  }