*/
@Test
public void testBooking() throws Exception
{
Long referenceNumber = hbm.book("john", "doe", "21-09-1987", "single", "28-12-2012", "30-12-2012");
HotelBooking booking = hbm.getBookingByReference(referenceNumber);
Assert.assertTrue("Expected first name to be 'john', but it wasn't", booking.getCustomer().getFirstName().equals("john"));
Assert.assertTrue("Expected last name to be 'doe', but it wasn't", booking.getCustomer().getLastName().equals("doe"));
Assert.assertTrue("Expected date of birth to be '21-09-1987', but it wasn't", booking.getCustomer().getDateOfBirth().equals("21-09-1987"));
Assert.assertTrue("Expected room type to be 'single', but it wasn't", booking.getRoom().getRoomType().equals("single"));
Assert.assertTrue("Expected check-in date to be '28-12-2012', but it wasn't", booking.getCheckInDate().equals("28-12-2012"));
Assert.assertTrue("Expected check-out date to be '30-12-2012', but it wasn't", booking.getCheckOutDate().equals("30-12-2012"));
}