    @Test
    public void getsBookingOfSpecifiedUser() {

        when(bookingRepository.findByCustomerId(booking.getCustomerId())).thenReturn(singletonList(booking));

        List<Booking> bookings = bookingService.getBookingsByUser(booking.getCustomerId());

        assertThat(bookings, contains(booking));
    }