test_class.declarator: mServiceSentenceFetchExecutor
test_class.modifier: private
test_class.original_string: private ServiceSentenceFetchExecutor mServiceSentenceFetchExecutor;
test_class.type: ServiceSentenceFetchExecutor
test_class.var_name: mServiceSentenceFetchExecutor
test_class.declarator: mContext
test_class.modifier: @Mock
      private
test_class.original_string: @Mock
      private Context mContext;
test_class.type: Context
test_class.var_name: mContext
test_class.declarator: mIntentCaptor
test_class.modifier: @Captor
      private
test_class.original_string: @Captor
      private ArgumentCaptor<Intent> mIntentCaptor;
test_class.type: ArgumentCaptor<Intent>
test_class.var_name: mIntentCaptor
test_class.file: app/src/test/java/com/xixicm/de/infrastructure/service/ServiceSentenceFetchExecutorTest.java
test_class.identifier: ServiceSentenceFetchExecutorTest
test_case.body: @Test
      public void testFetchTodaysSentence() {
          mServiceSentenceFetchExecutor.fetchTodaysSentence(false);
          verify(mContext).startService(mIntentCaptor.capture());
          Intent intent = mIntentCaptor.getValue();
          assertTrue(intent != null);
          // assertTrue(intent.getComponent().getClassName().equals(DEFetchService.class.getCanonicalName()));
      }
test_case.class_method_signature: ServiceSentenceFetchExecutorTest.testFetchTodaysSentence()
test_case.full_signature: @Test public void testFetchTodaysSentence()
test_case.identifier: testFetchTodaysSentence
test_case.invocations: fetchTodaysSentence startService verify capture getValue assertTrue
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testFetchTodaysSentence()
focal_class.declarator: sInstance
focal_class.modifier: private static
focal_class.original_string: private static ServiceSentenceFetchExecutor sInstance;
focal_class.type: ServiceSentenceFetchExecutor
focal_class.var_name: sInstance
focal_class.declarator: mContext
focal_class.original_string: Context mContext;
focal_class.type: Context
focal_class.var_name: mContext
focal_class.file: app/src/main/java/com/xixicm/de/infrastructure/service/ServiceSentenceFetchExecutor.java
focal_class.identifier: ServiceSentenceFetchExecutor
focal_class.interfaces: implements SentenceFetchExecutor
focal_class.class_method_signature: ServiceSentenceFetchExecutor.ServiceSentenceFetchExecutor(Context context)
focal_class.full_signature: @VisibleForTesting  ServiceSentenceFetchExecutor(Context context)
focal_class.identifier: ServiceSentenceFetchExecutor
focal_class.modifiers: @VisibleForTesting
focal_class.parameters: (Context context)
focal_class.signature:  ServiceSentenceFetchExecutor(Context context)
focal_class.class_method_signature: ServiceSentenceFetchExecutor.getInstance(Context context)
focal_class.full_signature: public static synchronized ServiceSentenceFetchExecutor getInstance(Context context)
focal_class.identifier: getInstance
focal_class.modifiers: public static synchronized
focal_class.parameters: (Context context)
focal_class.return: ServiceSentenceFetchExecutor
focal_class.signature: ServiceSentenceFetchExecutor getInstance(Context context)
focal_class.class_method_signature: ServiceSentenceFetchExecutor.fetchTodaysSentence(boolean manual)
focal_class.full_signature: @Override public void fetchTodaysSentence(boolean manual)
focal_class.identifier: fetchTodaysSentence
focal_class.modifiers: @Override public
focal_class.parameters: (boolean manual)
focal_class.return: void
focal_class.signature: void fetchTodaysSentence(boolean manual)
focal_method.body: @Override
      public void fetchTodaysSentence(boolean manual) {
          LogUtils.v(Constants.TAG, ServiceSentenceFetchExecutor.class.getCanonicalName() + " fetchTodaysSentence");
          mContext.startService(new Intent(mContext, DEFetchService.class));
      }
focal_method.class_method_signature: ServiceSentenceFetchExecutor.fetchTodaysSentence(boolean manual)
focal_method.full_signature: @Override public void fetchTodaysSentence(boolean manual)
focal_method.identifier: fetchTodaysSentence
focal_method.invocations: v getCanonicalName startService
focal_method.modifiers: @Override public
focal_method.parameters: (boolean manual)
focal_method.return: void
focal_method.signature: void fetchTodaysSentence(boolean manual)