@Test
void bothWildcard() {

    final LocationMatcher m = new LocationMatcher(Location.of("*pa*"));
    assertTrue(m.matchesPackage("pa"));
    assertTrue(m.matchesPackage("xxxpa"));
    assertTrue(m.matchesPackage("paxxx"));
    assertFalse(m.matchesPackage(""));
}