public void testClientDelete() throws Exception {
// We first create a new entry, then delete it
// Post a new entry
Entry newEntry = new Entry();
newEntry.setTitle(new PlainTextConstruct("NewEntry title to be deleted"));
newEntry.setContent(new PlainTextConstruct("NewEntry Content to be delted"));
Entry confirmedNewEntry = testService.clientPost(newEntry);
Thread.sleep(300);
Feed feed00 = testService.clientGetFeed();
int entryNum00 = feed00.getEntries().size(); // The number of entries
// before deleting
System.out.println("entryNum00:" + entryNum00);
// Delete this newly created entry
String entryID = confirmedNewEntry.getId();
Thread.sleep(300);
System.out.println("confirmed entry ID: " + confirmedNewEntry.getId());
System.out.println("confirmed entry title: " + confirmedNewEntry.getTitle().getPlainText());
System.out.println("Before test clientDelete");
testService.clientDelete(entryID);
System.out.println("After test clientDelete");