}
public void testListCompletedBookings() {
List<CompletedBooking> expectedBookings = new ArrayList<CompletedBooking>();
CompletedBooking booking = new CompletedBooking();
booking.setId(1);
booking.setBeginDate(CalendarUtils.GetToday());
booking.setFinishDate(CalendarUtils.GetTomorrow());
CompletedBooking booking2 = new CompletedBooking();
booking.setId(2);
booking2.setBeginDate(CalendarUtils.GetToday());
booking2.setFinishDate(CalendarUtils.GetTomorrow());
CompletedBooking booking3 = new CompletedBooking();
booking.setId(3);
booking3.setBeginDate(CalendarUtils.GetToday());
booking3.setFinishDate(CalendarUtils.GetTomorrow());
expectedBookings.add(booking);
expectedBookings.add(booking2);
expectedBookings.add(booking3);
expect(bookingManager.getAllCompletedBookings()).andReturn(expectedBookings);