### Question:
AdviceTranslationServiceImpl implements AdviceTranslationService { @Override public List<AdviceTranslation> saveAdviceTranslation(List<AdviceTranslation> adviceTranslations) { return adviceTranslationRepo.saveAll(adviceTranslations); } @Autowired  AdviceTranslationServiceImpl(AdviceTranslationRepo adviceTranslationRepo,
                                        AdviceServiceImpl adviceService, ModelMapper modelMapper); @Override List<AdviceTranslation> saveAdviceTranslation(List<AdviceTranslation> adviceTranslations); @Override List<AdviceTranslation> saveAdviceAndAdviceTranslation(AdvicePostDTO advicePostDTO);  }### Answer:
@Test void saveAdviceTranslation() { List<AdviceTranslation> adviceTranslations = Collections.singletonList(getAdviceTranslation()); when(adviceTranslationRepo.saveAll(adviceTranslations)).thenReturn(adviceTranslations); adviceTranslationService.saveAdviceTranslation(adviceTranslations); verify(adviceTranslationRepo, times(1)).saveAll(adviceTranslations); }