mockSyncFolderItems(creates, getDefaultFolder(), getDefaultConfig().getIdPageSize(), newSyncState, true);
SyncFolderItemsResult result =
SyncFolderItemsHelper.syncFolderItems(getService(), getDefaultConfig(), getDefaultFolder());
ids.remove(1);
assertEquals(ids, result.getIds());
assertTrue(result.includesLastItem());
assertEquals(oldSyncState, getDefaultFolder().getSyncStateToken());
assertEquals(newSyncState, result.getSyncState());
}
}