public void testHandler() {
try {
createSampleUser();
//create
WeblogEntrySet wesCreate = createSampleWeblog();
assertNotNull(wesCreate);
assertNotNull(wesCreate.getEntries());
assertEquals(wesCreate.getEntries().length, 1);
assertEquals(wesCreate, getSampleWeblogEntrySet());
//get
WeblogEntrySet wesFetch = fetchSampleWeblog();
assertNotNull(wesFetch);
assertNotNull(wesFetch.getEntries());
assertEquals(wesFetch.getEntries().length, 1);
assertEquals(wesFetch, wesCreate);
//update
WeblogEntrySet wesUpdate = updateSampleWeblog();
assertNotNull(wesUpdate);
assertNotNull(wesUpdate.getEntries());
assertEquals(wesUpdate.getEntries().length, 1);
assertEquals(wesUpdate, updateSampleWeblogEntrySet(getSampleWeblogEntrySet()));
//delete
WeblogEntrySet wesDelete = deleteSampleWeblog(true);
assertNotNull(wesDelete);
assertNotNull(wesCreate.getEntries());
assertEquals(wesCreate.getEntries().length, 1);
assertEquals(0, wesDelete.getEntries().length);
} catch (IOException ioe) {
fail(ioe.getMessage());
ioe.printStackTrace();
} catch (JDOMException je) {