message.append(SchedulerUtil.getExceptionAsString(throwable)); message.append("\n\nSystem Variables\n============================================\n"); for (Map.Entry<String, String> entry : Context.getAdministrationService().getSystemVariables() .entrySet()) { message.append(entry.getKey()).append(" = ").append(entry.getValue()).append("\n");
@Test public void getSystemVariables_shouldReturnAllRegisteredSystemVariables() { // The method implementation adds 11 system variables assertEquals(11, adminService.getSystemVariables().size()); }