//This test case might fail
//because Google blogger service has limitation on new posts allowed everyday/every hour?
//System.out.println("testClientDelete");
//We create a new post, and then delete it
Entry newEntry = new Entry();
newEntry.setTitle(new PlainTextConstruct("calendarEntryShouldNotApear"));
newEntry.setContent(new PlainTextConstruct("calendarByBloggerShouldNotAppear"));
Entry postedEntry = testService.clientPost(newEntry);
Thread.sleep(Constants.SLEEP_INTERVAL);
//System.out.println("ID: " + postedEntry.getId());
int idStartPosition = postedEntry.getId().lastIndexOf("/");
String postedEntryID = postedEntry.getId().substring(idStartPosition+1);
//System.out.println("postedEntryID: " + postedEntryID );
//Before deletion
Entry entry00 = testService.clientGetEntry(postedEntryID);
//System.out.println("Before Deleteion: " + entry00.getId());
//Delete this entry
testService.clientDelete(postedEntryID);