### Question:
ApplicationControllerSupport { public Status buildStatusFromAppcException(AppcClientException exception) { Status exceptionStatus = new Status(); exceptionStatus.setCode(200); exceptionStatus.setMessage("Exception on APPC request: " + exception.getMessage()); return exceptionStatus; }  Object getInput(String action); Method getAPIMethod(String action, LifeCycleManagerStateful lcmStateful, boolean async); Status getStatusFromGenericResponse(Object response); StatusCategory getCategoryOf(Status status); boolean getFinalityOf(Status status); void logLCMMessage(Object message); Status buildStatusFromAppcException(AppcClientException exception);  }### Answer:
@Test public void buildStatusFromAppcException_Test() { String errorMessage = "errormessage"; AppcClientException exception = new AppcClientException(errorMessage); Status status = applicationControllerSupport.buildStatusFromAppcException(exception); assertThat(status.getCode() == 200); assertThat((status.getMessage()).equals(("Exception on APPC request: " + errorMessage))); }