*/
public class UserHandlerTest extends HandlerBaseTest {
public void testHandler() {
try {
//create
UserEntrySet uesCreate = createSampleUser();
assertNotNull(uesCreate);
assertNotNull(uesCreate.getEntries());
assertEquals(uesCreate.getEntries().length, 1);
assertEquals(uesCreate, getSampleUserEntrySet());
//get
UserEntrySet uesFetch = fetchSampleUser();
assertNotNull(uesFetch);
assertNotNull(uesFetch.getEntries());
assertEquals(uesFetch.getEntries().length, 1);
assertEquals(uesFetch, uesCreate);
//update
UserEntrySet uesUpdate = updateSampleUser();
assertNotNull(uesUpdate);
assertNotNull(uesUpdate.getEntries());
assertEquals(uesUpdate.getEntries().length, 1);
assertEquals(uesUpdate, updateSampleUserEntrySet(getSampleUserEntrySet()));
//delete
UserEntrySet uesDelete = deleteSampleUser(true);
assertNotNull(uesDelete);
assertNotNull(uesCreate.getEntries());
assertEquals(uesCreate.getEntries().length, 1);
assertEquals(0, uesDelete.getEntries().length);
} catch (IOException ioe) {
ioe.printStackTrace();
fail(ioe.getMessage());
} catch (JDOMException je) {