@org.junit.Test public void testgetBookings() throws Exception { Booking[] bfylki = bcontroller.getBookings(hotel); assertNotNull(bfylki); assertEquals(bfylki[1].getId(), book.getId()); }