// ath hvort skili ekki error ef við setjum inn streng með tölum (aðferðin ætti að parsa það yfir
 // í int)
 @org.junit.Test
 public void testIntStringGetBooking() throws Exception {
   String id = "" + book.getId();
   testbooking = bcontroller.getBooking(id);
   assertEquals(testbooking.getId(), book.getId());
 }
 @org.junit.Test
 public void testgetBooking() throws Exception {
   Booking btest = bcontroller.getBooking(book.getId());
   assertNotNull(btest);
   assertEquals(btest.getId(), book.getId());
 }
 // ath hvort skili error ef við setjum inn streng með táknum í getBooking
 @org.junit.Test(expected = IllegalArgumentException.class)
 public void testNoSpecialCharsGetBooking() throws Exception {
   testbooking = bcontroller.getBooking(Integer.parseInt(".-/"));
 }