modified.getRepositories().iterator().next().getContent().add(item2);
MockSynchronizationPolicy policy = new MockSynchronizationPolicy();
policy.setAllowJoinRemovals(Boolean.FALSE);
RemoteContentModificationGenerator testee =
new RemoteContentModificationGenerator(policy, getNewRepositoryContentMetadata());
List<ContentModification> mods = testee.getModificationList(base, modified);
assertEquals(2, mods.size());
assertEquals(Type.PULL_FROM_CLUSTER, mods.get(0).getType());
assertEquals(item1, mods.get(0).getItem());
assertEquals(Type.PUSH_TO_CLUSTER, mods.get(1).getType());