### Question:
TppInfoCmsServiceImpl implements TppInfoCmsService { @Override @Transactional public List<TppInfoTO> getTpps() { List<TppInfoEntity> tpps = IterableUtils.toList(tppInfoRepository.findAll()); return tppInfoObaMapper.toTppInfoTOs(tpps); }  @Override @Transactional List<TppInfoTO> getTpps();  }### Answer:
@Test void getTpps() { when(tppInfoRepository.findAll()).thenReturn(Collections.singletonList(new TppInfoEntity())); when(tppInfoObaMapper.toTppInfoTOs(any())).thenReturn(Collections.singletonList(new TppInfoTO())); List<TppInfoTO> result = tppInfoCmsService.getTpps(); assertFalse(result.isEmpty()); }