@Test public void shouldCreateRequest() { RedbeamsEvent request = (RedbeamsEvent) victim.createRequest(null); assertEquals(RedbeamsStopEvent.REDBEAMS_STOP_FAILURE_HANDLED_EVENT.event(), request.selector()); }
@Override protected Selectable createRequest(RedbeamsStopContext context) { return new RedbeamsEvent(RedbeamsStopEvent.REDBEAMS_STOP_FAILURE_HANDLED_EVENT.event(), 0L); }
StopDatabaseServerFailedAction extends AbstractRedbeamsStopAction<RedbeamsFailureEvent> { @Override protected Selectable createRequest(RedbeamsStopContext context) { return new RedbeamsEvent(RedbeamsStopEvent.REDBEAMS_STOP_FAILURE_HANDLED_EVENT.event(), 0L); } }
StopDatabaseServerFailedAction extends AbstractRedbeamsStopAction<RedbeamsFailureEvent> { @Override protected Selectable createRequest(RedbeamsStopContext context) { return new RedbeamsEvent(RedbeamsStopEvent.REDBEAMS_STOP_FAILURE_HANDLED_EVENT.event(), 0L); } StopDatabaseServerFailedAction(); }
StopDatabaseServerFailedAction extends AbstractRedbeamsStopAction<RedbeamsFailureEvent> { @Override protected Selectable createRequest(RedbeamsStopContext context) { return new RedbeamsEvent(RedbeamsStopEvent.REDBEAMS_STOP_FAILURE_HANDLED_EVENT.event(), 0L); } StopDatabaseServerFailedAction();  }
StopDatabaseServerFailedAction extends AbstractRedbeamsStopAction<RedbeamsFailureEvent> { @Override protected Selectable createRequest(RedbeamsStopContext context) { return new RedbeamsEvent(RedbeamsStopEvent.REDBEAMS_STOP_FAILURE_HANDLED_EVENT.event(), 0L); } StopDatabaseServerFailedAction();   }