### Question:
DiscountServiceImpl implements DiscountService { @Override public Set<DiscountValue> findAllByPlaceId(Long placeId) { return repo.findAllByPlaceId(placeId); }  @Override DiscountValue save(DiscountValue discountValue); @Override DiscountValue findById(Long id); @Override Set<DiscountValue> findAllByPlaceId(Long placeId); @Override void deleteAllByPlaceId(Long placeId);  }### Answer:
@Test public void findAllByPlaceId() { Set<DiscountValue> genericSet = new HashSet<>(); when(discountValuesRepo.findAllByPlaceId(anyLong())).thenReturn(genericSet); Set<DiscountValue> foundSet = discountService.findAllByPlaceId(anyLong()); assertEquals(genericSet, foundSet); }