### Question:
AsciiSet implements Serializable { public static AsciiSet fromPattern(String pattern) { final boolean[] members = new boolean[128]; final int n = pattern.length(); for (int i = 0; i < n; ++i) { final char c = pattern.charAt(i); if (c >= members.length) { throw new IllegalArgumentException("invalid pattern, '" + c + "' is not ascii"); } final boolean isStartOrEnd = i == 0 || i == n - 1; if (isStartOrEnd || c != '-') { members[c] = true; } else { final char s = pattern.charAt(i - 1); final char e = pattern.charAt(i + 1); for (char v = s; v <= e; ++v) { members[v] = true; } } } return new AsciiSet(members); } private  AsciiSet(boolean[] members); static AsciiSet fromPattern(String pattern); static AsciiSet none(); static AsciiSet all(); static AsciiSet control(); boolean contains(char c); boolean containsAll(CharSequence str); String replaceNonMembers(String input, char replacement); AsciiSet union(AsciiSet set); AsciiSet intersection(AsciiSet set); AsciiSet diff(AsciiSet set); AsciiSet invert(); Optional<Character> character(); boolean isEmpty(); @Override String toString(); @Override int hashCode(); @Override boolean equals(Object obj);  }### Answer:
@Test public void nonAsciiPattern() { Assertions.assertThrows(IllegalArgumentException.class, () -> AsciiSet.fromPattern("\u26A0")); }