### Question:
AMSetupUtils { public static String getRandomString() { try { byte[] bytes = new byte[24]; SecureRandom random = SecureRandom.getInstance(RANDOM_STRING_ALGORITHM); random.nextBytes(bytes); return Base64.encode(bytes); } catch (Exception e) { debug.message("AMSetupUtils.getRandomString:Exception in generating encryption key.", e); } return SetupConstants.CONFIG_VAR_DEFAULT_SHARED_KEY; } private  AMSetupUtils(); static String readFile(ServletContext servletContext, String file); static String getRandomString(); static int getFirstUnusedPort(String hostname, int start, int increment); static boolean isPortInUse(String hostname, int port); static Map<String, String> getRemoteServerInfo(String serverUrl, String userId, String password); static InputStream getResourceAsStream(ServletContext servletContext, String file);  }### Answer:
@Test public void shouldGetRandomString() { String firstRandomString = getRandomString(); String secondRandomString = getRandomString(); assertThat(firstRandomString).isNotEqualTo(secondRandomString); }