@Test public void shouldIncrementMetricOnCreateRequest() { RedbeamsStopContext context = new RedbeamsStopContext(flowParameters, cloudContext, cloudCredential, databaseStack); RedbeamsEvent redbeamsEvent = (RedbeamsEvent) victim.createRequest(context); assertEquals(RedbeamsStopEvent.REDBEAMS_STOP_FINISHED_EVENT.name(), redbeamsEvent.selector()); }
@Override protected Selectable createRequest(RedbeamsStopContext context) { return new RedbeamsEvent(RedbeamsStopEvent.REDBEAMS_STOP_FINISHED_EVENT.name(), 0L); }
StopDatabaseServerFinishedAction extends AbstractRedbeamsStopAction<StopDatabaseServerSuccess> { @Override protected Selectable createRequest(RedbeamsStopContext context) { return new RedbeamsEvent(RedbeamsStopEvent.REDBEAMS_STOP_FINISHED_EVENT.name(), 0L); } }
StopDatabaseServerFinishedAction extends AbstractRedbeamsStopAction<StopDatabaseServerSuccess> { @Override protected Selectable createRequest(RedbeamsStopContext context) { return new RedbeamsEvent(RedbeamsStopEvent.REDBEAMS_STOP_FINISHED_EVENT.name(), 0L); } StopDatabaseServerFinishedAction(); }
StopDatabaseServerFinishedAction extends AbstractRedbeamsStopAction<StopDatabaseServerSuccess> { @Override protected Selectable createRequest(RedbeamsStopContext context) { return new RedbeamsEvent(RedbeamsStopEvent.REDBEAMS_STOP_FINISHED_EVENT.name(), 0L); } StopDatabaseServerFinishedAction();  }
StopDatabaseServerFinishedAction extends AbstractRedbeamsStopAction<StopDatabaseServerSuccess> { @Override protected Selectable createRequest(RedbeamsStopContext context) { return new RedbeamsEvent(RedbeamsStopEvent.REDBEAMS_STOP_FINISHED_EVENT.name(), 0L); } StopDatabaseServerFinishedAction();   }