mockSyncFolderItems(messages, getDefaultFolder(),
getDefaultConfig().getIdPageSize(), myNewSyncState, false);
SyncFolderItemsResult result = SyncFolderItemsHelper
.syncFolderItems(getService(), getDefaultConfig(), getDefaultFolder());
assertEquals(0, result.getIds().size());
assertFalse(result.includesLastItem());
assertEquals("", getDefaultFolder().getSyncStateToken());
assertEquals(myNewSyncState, result.getSyncState());
}
@Test