assertNotNull(conflicts);
assertEquals(conflicts.getEntries().size(),1);
Entry conflict = conflicts.getEntries().get(0);
assertNotNull(conflict);
ConflictResolver r = new ConflictResolver() {
public Entry resolve(Entry entry, List<Entry> conflicts) {
Sync sync = SharingHelper.getSync(entry,false);
Conflicts c = sync.getConflicts(false);
if (c != null) c.discard();
return entry; // take the latest