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