### Question:
ConsumerGroupTopicServiceImpl extends AbstractBaseService<ConsumerGroupTopicEntity> implements CacheUpdateService, ConsumerGroupTopicService, TimerService { @Override public void updateEmailByGroupName(String groupName, String alarmEmails) { consumerGroupTopicRepository.updateEmailByGroupName(groupName, alarmEmails); }  @Override void start(); @Override void updateCache(); @Override void forceUpdateCache(); @Override Map<Long, Map<String, ConsumerGroupTopicEntity>> getCache(); @Override Map<String, ConsumerGroupTopicEntity> getGroupTopic(); @Override void deleteByConsumerGroupId(long consumerGroupId); @Override void deleteByOriginTopicName(long consumerGroupId, String originTopicName); @Override List<String> getFailTopicNames(long consumerGroupId); @Override ConsumerGroupTopicEntity getCorrespondConsumerGroupTopic(Map<String, Object> parameterMap); @Override void updateEmailByGroupName(String groupName, String alarmEmails); @PreDestroy @Override void stop(); @Override String info(); @Override String getCacheJson(); @Override Map<String, List<ConsumerGroupTopicEntity>> getTopicSubscribeMap(); @Transactional(rollbackFor = Exception.class) @Override ConsumerGroupTopicCreateResponse subscribe(ConsumerGroupTopicCreateRequest consumerGroupTopicCreateRequest); @Override ConsumerGroupTopicCreateResponse subscribe(ConsumerGroupTopicCreateRequest consumerGroupTopicCreateRequest,Map<String, ConsumerGroupEntity> consumerGroupMap); @Override ConsumerGroupTopicEntity createConsumerGroupTopic(
			ConsumerGroupTopicCreateRequest consumerGroupTopicCreateRequest); @Transactional(rollbackFor = Exception.class) @Override ConsumerGroupTopicDeleteResponse deleteConsumerGroupTopic(long consumerGroupTopicId);  }### Answer:
@Test public void updateEmailByGroupNameTest() { consumerGroupTopicServiceImpl.updateEmailByGroupName("1", "3"); verify(consumerGroupTopicRepository).updateEmailByGroupName(anyString(), anyString()); }