@Test void testGetErrorMessage() { String applicationName = "another-app"; mockApplication(applicationName); Assertions.assertEquals(MessageFormat.format(Messages.ERROR_STAGING_APP_0, applicationName), step.getStepErrorMessage(context)); }
@Override protected String getStepErrorMessage(ProcessContext context) { return MessageFormat.format(Messages.ERROR_STAGING_APP_0, context.getVariable(Variables.APP_TO_PROCESS) .getName()); }
StageAppStep extends TimeoutAsyncFlowableStep { @Override protected String getStepErrorMessage(ProcessContext context) { return MessageFormat.format(Messages.ERROR_STAGING_APP_0, context.getVariable(Variables.APP_TO_PROCESS) .getName()); } }
StageAppStep extends TimeoutAsyncFlowableStep { @Override protected String getStepErrorMessage(ProcessContext context) { return MessageFormat.format(Messages.ERROR_STAGING_APP_0, context.getVariable(Variables.APP_TO_PROCESS) .getName()); }  }
StageAppStep extends TimeoutAsyncFlowableStep { @Override protected String getStepErrorMessage(ProcessContext context) { return MessageFormat.format(Messages.ERROR_STAGING_APP_0, context.getVariable(Variables.APP_TO_PROCESS) .getName()); }  @Override Integer getTimeout(ProcessContext context); }
StageAppStep extends TimeoutAsyncFlowableStep { @Override protected String getStepErrorMessage(ProcessContext context) { return MessageFormat.format(Messages.ERROR_STAGING_APP_0, context.getVariable(Variables.APP_TO_PROCESS) .getName()); }  @Override Integer getTimeout(ProcessContext context);  }