### Question:
PrepareToUndeployStep extends SyncFlowableStep { @Override protected String getStepErrorMessage(ProcessContext context) { return Messages.ERROR_DETECTING_COMPONENTS_TO_UNDEPLOY; }    }### Answer:
@Test void testErrorMessage() { Assertions.assertEquals(Messages.ERROR_DETECTING_COMPONENTS_TO_UNDEPLOY, step.getStepErrorMessage(context)); }