Exemplo n.º 1
0
  private static void testFilter(String string) {
    int index = Verifier.verifyFilter(string, 0);
    while (index < string.length() && Character.isWhitespace(string.charAt(index))) index++;

    if (index != string.length()) throw new IllegalArgumentException("Characters after filter");
  }