*/
public void testCalendarEventCRUD() {
// C
String url = "http://cal.yahoo.com/?eventId=56";
Long dateVersionNumber = 2l;
CalendarEvent calendarEvent = new CalendarEvent(url, dateVersionNumber);
getBoSvc().save(calendarEvent);
// R
calendarEvent.refresh();
assertEquals("url does not match", url, calendarEvent.getUrl());
assertEquals("date ver nbr does not match", dateVersionNumber, calendarEvent.getDateVersionNumber());
// U
dateVersionNumber = 3l;
calendarEvent.setDateVersionNumber(dateVersionNumber);
calendarEvent.refresh();
assertEquals("date ver nbr does not match", dateVersionNumber, calendarEvent.getDateVersionNumber());
// D
getBoSvc().delete(calendarEvent);
assertNull(getBoSvc().findBySinglePrimaryKey(CalendarEvent.class,
calendarEvent.getId()));
}