for(int i = 0; i < iUserNum1; ++i) {
xContainer.remove(sURL, aInputUserList1[i].UserName);
}
// get the result with find() and check it with the expected one
UrlRecord aRecord = xContainer.find(sURL, aMHandler);
if(!aRecord.Url.equals(sURL)) {
m_aTestHelper.Error("URL mismatch. Got " + aRecord.Url + "; should be " + sURL);
return false;
}
if(!m_aTestHelper.sameLists(aRecord.UserList, aInputUserList2)) {
m_aTestHelper.Error("User list is not the expected");
return false;
}
// get the result with getAllPersistent() and check
UrlRecord aRecords[] = xContainer.getAllPersistent(aMHandler);
if(!aRecords[0].Url.equals(sURL)) {
m_aTestHelper.Error("URL mismatch");
return false;
}
if(!m_aTestHelper.sameLists(aRecords[0].UserList, aInputUserList2)) {