RowSetMetaData metadata = new RowSetMetaDataImpl();
metadata.setColumnCount(DEFAULT_COLUMN_COUNT);
SyncResolverImpl resolver = new SyncResolverImpl(metadata);
resolver.addConflictRow(
new CachedRow(new Object[DEFAULT_COLUMN_COUNT]), 1,
SyncResolver.INSERT_ROW_CONFLICT);
resolver.addConflictRow(
new CachedRow(new Object[DEFAULT_COLUMN_COUNT]), 2,
SyncResolver.INSERT_ROW_CONFLICT);
assertTrue(resolver.nextConflict());
assertTrue(resolver.nextConflict());
assertFalse(resolver.nextConflict());