};
UniqueId uid1 = UniqueId.of("uid", "123");
UniqueId uid2 = UniqueId.of("uid", "321");
ExternalIdBundle eid1 = ExternalIdBundle.of(ExternalId.of("eid1", "321"));
ExternalIdBundle eid2 = ExternalIdBundle.of(ExternalId.of("eid2", "abc"));
Bean bean1 = createBean(uid1, eid1, "name1");
Bean bean2 = createBean(uid2, eid2, "name1");
MetaProperty<Object> uniqueIdMeta = bean1.property(UNIQUE_ID).metaProperty();
MetaProperty<Object> externalIdMeta = bean1.property(EXTERNAL_ID_BUNDLE).metaProperty();
Map<MetaProperty<?>, Comparator<Object>> comparators =
ImmutableMap.<MetaProperty<?>, Comparator<Object>>of(
uniqueIdMeta, alwaysEqualComparator,