code: public String buildStringToCheck(String claimIdentifier, String key, String value) throws Exception {
          String builtString = claimIdentifier.trim();
          if (!claimIdentifier.contains(":")) {
              builtString = builtString + ":";
          }
          if (key != null) {
              builtString = builtString + " key: " + key + " value:.*" + value;
          } else {
              builtString = builtString + " " + value.replace("[", "\\[").replace("]", "\\]");
          }
  
          return builtString;
  
      }
docs: Build the string to search for (the test app should have logged this string if everything is working as it should)
  
  @param claimIdentifier - an identifier logged by the test app - could be the method used to obtain the key
  @param key - the key to validate
  @param value - the value to validate
  @return - returns the string to look for in the output
  @throws Exception