@Test public void extractPlaceholders_validURI_MixedPlaceholders() { List<String> placeholders = URISignatureHandler .extractPlaceholders(validURI_3MixedPlaceholders); assertNotNull(placeholders); assertEquals("Wrong number of placeholders extracted", 3, placeholders .size()); assertEquals("Wrong first placeholder", "sop_id", placeholders.get(0)); assertEquals("Wrong second placeholder", "cond_id", placeholders.get(1)); assertEquals("Wrong third placeholder", "unit", placeholders.get(2)); }
public static List<String> extractPlaceholders(String uriSignature) { return new ArrayList<>(extractPlaceholdersWithPositions(uriSignature) .keySet()); }
URISignatureHandler { public static List<String> extractPlaceholders(String uriSignature) { return new ArrayList<>(extractPlaceholdersWithPositions(uriSignature) .keySet()); } }
URISignatureHandler { public static List<String> extractPlaceholders(String uriSignature) { return new ArrayList<>(extractPlaceholdersWithPositions(uriSignature) .keySet()); }  }
URISignatureHandler { public static List<String> extractPlaceholders(String uriSignature) { return new ArrayList<>(extractPlaceholdersWithPositions(uriSignature) .keySet()); }  static LinkedHashMap<String, Integer> extractPlaceholdersWithPositions(
			String uriSignature); static List<String> extractPlaceholders(String uriSignature); static void validate(String uriSignature); static void checkForUnsafeCharacters(String candidateURLSignature); static boolean isValid(String uriSignature); static String generateCompleteURI(String uriSignature,
			Map<String, String> specifiedParameters, boolean escapeParameters); static String urlEncodeQuery(String query); }
URISignatureHandler { public static List<String> extractPlaceholders(String uriSignature) { return new ArrayList<>(extractPlaceholdersWithPositions(uriSignature) .keySet()); }  static LinkedHashMap<String, Integer> extractPlaceholdersWithPositions(
			String uriSignature); static List<String> extractPlaceholders(String uriSignature); static void validate(String uriSignature); static void checkForUnsafeCharacters(String candidateURLSignature); static boolean isValid(String uriSignature); static String generateCompleteURI(String uriSignature,
			Map<String, String> specifiedParameters, boolean escapeParameters); static String urlEncodeQuery(String query); static final char PLACEHOLDER_START_SYMBOL; static final char PLACEHOLDER_END_SYMBOL; }