AutoFetchTodaysSentenceUC extends AbstractUseCase<Void, Void, Void> { private void fetchTodaysSentence() { LogUtils.v(Constants.TAG, "auto start to fetch today's sentence."); mSentenceFetchExecutor.fetchTodaysSentence(false); } AutoFetchTodaysSentenceUC(SentenceFetchExecutor sentenceFetchExecutor); @Override void run();  }
@Test public void testFetchTodaysSentence() { mAutoFetchTodaysSentenceUC.run(); verify(mSentenceFetchExecutor).fetchTodaysSentence(false); }