return x.iterator().next() ;
}
@Test public void EntityHasMultipleMapEntries() {
EntityMapAssembler emAssembler = new EntityMapAssembler();
EntityDefinition entityDef = emAssembler.open(null, spec2, null);
assertEquals(SPEC2_PREDICATE1.asNode(), getOne(entityDef,SPEC2_DEFAULT_FIELD));
assertEquals(SPEC2_PREDICATE2.asNode(), getOne(entityDef, SPEC2_FIELD2));
}