@Test
void nonStrictNames() {

    final LocationNameMatcher m = new LocationNameMatcher(emptyList(), asList("cat"));
    assertTrue(m.matches("cat", null, null, null, false));
    assertTrue(m.matches("xcat", null, null, null, false));
    assertTrue(m.matches("catx", null, null, null, false));
    assertTrue(m.matches("xcatx", null, null, null, false));
    assertFalse(m.matches("ca", null, null, null, false));
}