### Question:
SSOUtils { public static String createID() { SecureRandom random = new SecureRandom(); byte[] bytes = new byte[20]; random.nextBytes(bytes); char[] characterMapping = {'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p'}; char[] characters = new char[40]; IntStream.range(0, bytes.length) .forEach(index -> { int left = (bytes[index] >> 4) & 0x0f; int right = bytes[index] & 0x0f; characters[index * 2] = characterMapping[left]; characters[index * 2 + 1] = characterMapping[right]; }); return String.valueOf(characters); } private  SSOUtils(); static String createID(); static Optional<String> constructApplicationServerURL(Request request); static Map<String, String[]> getSplitQueryParameters(String queryParameterString); @SuppressWarnings("unchecked") static Map<String, Object> generateRelayState(Request request); static Optional<String> generateIssuerID(String contextPath, String hostAppBase); static Optional<String> generateConsumerURL(String contextPath, String acsBase, String acsPostfix); static Optional generateKeyStore(); static void sendCharacterData(HttpServletResponse response, String htmlPayload); static void doBootstrap(); static RequestAbstractType setSignature(RequestAbstractType request, String signatureAlgorithm,
                                                   X509Credential credential); static String encodeRequestMessage(RequestAbstractType requestMessage, String binding); static String marshall(XMLObject xmlObject); static Optional<XMLObject> unmarshall(String xmlString); static Assertion decryptAssertion(SSOX509Credential ssoAgentX509Credential,
                                             EncryptedAssertion encryptedAssertion); static Map<String, List<String>> getAssertionStatements(Assertion assertion); static void addDeflateSignatureToHTTPQueryString(StringBuilder httpQueryString, X509Credential credential);  }### Answer:
@Test(description = "Tests the uniqueness of the id generated") public void testUniqueIDCreation() { List<String> ids = new ArrayList<>(); IntStream .range(0, 10) .forEach(index -> ids.add(SSOUtils.createID())); Set<String> uniqueIds = new HashSet<>(); ids .stream() .forEach(uniqueIds::add); Assert.assertTrue(ids.size() == uniqueIds.size()); }