@Test public void testFindOne01() { Reserve reserve = new Reserve(); when(reserveRepository.findById("foo")).thenReturn(Optional.of( reserve)); Reserve result = reserveService.findOne("foo"); assertThat(result, is(reserve)); }
@Override public Reserve findOne(String reserveNo) { return authorizedReserveSharedService.findOne(reserveNo); }
ReserveServiceImpl implements ReserveService { @Override public Reserve findOne(String reserveNo) { return authorizedReserveSharedService.findOne(reserveNo); } }
ReserveServiceImpl implements ReserveService { @Override public Reserve findOne(String reserveNo) { return authorizedReserveSharedService.findOne(reserveNo); }  }
ReserveServiceImpl implements ReserveService { @Override public Reserve findOne(String reserveNo) { return authorizedReserveSharedService.findOne(reserveNo); }  @Override Reserve findOne(String reserveNo); @Override List<Reserve> findAllByCustomerCode(String customerCode); @Override ReserveTourOutput reserve(
            ReserveTourInput input); @Override void cancel(String reserveNo); @Override ReservationUpdateOutput update(
            ReservationUpdateInput input); }
ReserveServiceImpl implements ReserveService { @Override public Reserve findOne(String reserveNo) { return authorizedReserveSharedService.findOne(reserveNo); }  @Override Reserve findOne(String reserveNo); @Override List<Reserve> findAllByCustomerCode(String customerCode); @Override ReserveTourOutput reserve(
            ReserveTourInput input); @Override void cancel(String reserveNo); @Override ReservationUpdateOutput update(
            ReservationUpdateInput input);  }