@Test
public void abbreviate_1() {

    PrefixMapI prefixes = create();
    prefixes.add(pref1, "http://example.net/ns#");
    String x = PrefixLib.abbreviate(prefixes, "http://example.net/ns#xyz");
    assertEquals("pref1:xyz", x);
}