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