### Question:
PollExecuteAppStatusExecution implements AsyncExecution { @Override public AsyncExecutionState execute(ProcessContext context) { List<ApplicationStateAction> actions = context.getVariable(Variables.APP_STATE_ACTIONS_TO_EXECUTE); if (!actions.contains(ApplicationStateAction.EXECUTE)) { return AsyncExecutionState.FINISHED; } CloudApplication app = getNextApp(context); CloudControllerClient client = context.getControllerClient(); ApplicationAttributes appAttributes = ApplicationAttributes.fromApplication(app); AppExecutionDetailedStatus status = getAppExecutionStatus(context, client, appAttributes, app); ProcessLoggerProvider processLoggerProvider = context.getStepLogger() .getProcessLoggerProvider(); StepsUtil.saveAppLogs(context, client, recentLogsRetriever, app, LOGGER, processLoggerProvider); return checkAppExecutionStatus(context, client, app, appAttributes, status); } PollExecuteAppStatusExecution(RecentLogsRetriever recentLogsRetriever); @Override AsyncExecutionState execute(ProcessContext context); String getPollingErrorMessage(ProcessContext context);  }### Answer:
@Test void testStepWithoutExecuteAction() { context.setVariable(Variables.APP_STATE_ACTIONS_TO_EXECUTE, Collections.emptyList()); AsyncExecutionState resultState = step.execute(context); assertEquals(AsyncExecutionState.FINISHED, resultState); }