@Test
public void testEqualityOfCatalogEntries() throws Exception {

  final Map<EName, String> a1 = map(
      tuple(EName.mk("http://lang.org", "lang"), "en"),
      tuple(EName.mk("http://value.org", "value"), "value"),
      tuple(EName.mk("http://type.org", "type"), "string"));
  final Map<EName, String> a2 = map(
      tuple(EName.mk("http://type.org", "type"), "string"),
      tuple(EName.mk("http://lang.org", "lang"), "en"),
      tuple(EName.mk("http://value.org", "value"), "value"));
  final CatalogEntry c1 = new TestImpl().mkCatalogEntry(EName.mk("http://extron.com", "extron"), "value", a1);
  final CatalogEntry c2 = new TestImpl().mkCatalogEntry(EName.mk("http://extron.com", "extron"), "value", a2);
  assertEquals(c1, c2);
  final CatalogEntry c3 = new TestImpl().mkCatalogEntry(EName.mk("http://extron.com", "extron2"), "value", a2);
  assertNotEquals(c1, c3);
}