### Question:
ConsumerGroupConsumerServiceImpl extends AbstractBaseService<ConsumerGroupConsumerEntity> implements ConsumerGroupConsumerService { @Override public int deleteUnActiveConsumer() { return consumerGroupConsumerRepository.deleteUnActiveConsumer(); }  @Override List<ConsumerGroupConsumerEntity> getByConsumerGroupIds(List<Long> consumerGroupIds); @Override int deleteUnActiveConsumer(); @Override List<ConsumerGroupConsumerEntity> getByConsumerIds(List<Long> consumerIds); @Override void deleteByConsumerId(long consumerId); @Override void deleteByConsumerIds(List<Long> consumerIds);  }### Answer:
@Test public void deleteUnActiveConsumerTest() { when(consumerGroupConsumerRepository.deleteUnActiveConsumer()).thenReturn(1); assertEquals(1, consumerGroupConsumerServiceImpl.deleteUnActiveConsumer()); }