### Question:
AnonymousModule implements MatchingModule { public static Optional<AnonymousModule> make(String... globs) { return make(Arrays.asList(globs)); } AnonymousModule(Stream<String> patternLiteral); static Optional<AnonymousModule> make(String... globs); static Optional<AnonymousModule> make(List<String> globs); boolean contains(ElementName elementName); @Override boolean equals(Object o); @Override int hashCode(); final List<String> patternLiterals; }### Answer:
@Test @DisplayName("equals should work on the pattern literals in different order") void testEqualsOrder() { assertThat(AnonymousModule.make("a", "b")).isEqualTo(AnonymousModule.make("b", "a")); }