@Test
public void testPattern07() {

    final List<String> specs = List.of("com.example.*", "org.example.!");
    assertThrows(IllegalArgumentException.class, () -> PackageNameMatcher.compile(specs));
}