### Question:
StopDatabaseServerAction extends AbstractRedbeamsStopAction<RedbeamsEvent> { @Override protected Selectable createRequest(RedbeamsStopContext context) { return new StopDatabaseServerRequest(context.getCloudContext(), context.getCloudCredential(), context.getDatabaseStack()); } StopDatabaseServerAction();   }### Answer:
@Test public void createRequestShouldReturnStopDatabaseServerRequest() { RedbeamsStopContext context = new RedbeamsStopContext(flowParameters, cloudContext, cloudCredential, databaseStack); StopDatabaseServerRequest stopDatabaseServerRequest = (StopDatabaseServerRequest) victim.createRequest(context); assertEquals(cloudContext, stopDatabaseServerRequest.getCloudContext()); assertEquals(cloudCredential, stopDatabaseServerRequest.getCloudCredential()); }