@Test
void language() {

    final LocationNameMatcher m = new LocationNameMatcher(
            asList(Location.of("java:A"), Location.of("kotlin:")), asList("c"));
    assertTrue(m.matches("c", null, "A", null, true));
    assertTrue(m.matches("c", JAVA, "A", null, true));
    assertTrue(m.matches("c", KOTLIN, "B", null, true));
    assertFalse(m.matches("c", SCALA, "A", null, true));
}