@Test public void testFindOne01() { TourInfo info = new TourInfo(); when(tourInfoRepository.findOneWithDetails("foo")).thenReturn(info); TourInfo result = tourInfoSharedService.findOneWithDetails("foo"); assertThat(result, is(info)); }
@Override public TourInfo findOneWithDetails(String tourCode) { return tourInfoRepository.findOneWithDetails(tourCode); }
TourInfoSharedServiceImpl implements TourInfoSharedService { @Override public TourInfo findOneWithDetails(String tourCode) { return tourInfoRepository.findOneWithDetails(tourCode); } }
TourInfoSharedServiceImpl implements TourInfoSharedService { @Override public TourInfo findOneWithDetails(String tourCode) { return tourInfoRepository.findOneWithDetails(tourCode); }  }
TourInfoSharedServiceImpl implements TourInfoSharedService { @Override public TourInfo findOneWithDetails(String tourCode) { return tourInfoRepository.findOneWithDetails(tourCode); }  @Override TourInfo findOneWithDetails(String tourCode); @Override boolean isOverPaymentLimit(TourInfo tour); @Override TourInfo findOneWithDetailsForUpdate(String tourCode); }
TourInfoSharedServiceImpl implements TourInfoSharedService { @Override public TourInfo findOneWithDetails(String tourCode) { return tourInfoRepository.findOneWithDetails(tourCode); }  @Override TourInfo findOneWithDetails(String tourCode); @Override boolean isOverPaymentLimit(TourInfo tour); @Override TourInfo findOneWithDetailsForUpdate(String tourCode);  }