source: class ContentEventTest  {
  
       ContentEvent mEventFilter;
       RequestParams mRequestParams;
       Intent mIntent;
       Bundle mBundle;
      @Mock ContentListener mContentListener;
      @Captor ArgumentCaptor<Bundle> mBundleArgumentCaptor;
      @Captor ArgumentCaptor<Cursor> mCursorArgumentCaptor;
      @Mock MockContentProvider mContentProvider;
      @Mock Cursor mCursor;
  
      @Test
      public void process_shouldReturnCursor_whenSelect() throws Exception {
  
target:         setupProcess(ContentRequest.SELECT);
  
          mEventFilter.process(RuntimeEnvironment.application, mIntent);
  
          verify(mContentListener).onResponse(mBundleArgumentCaptor.capture(), mCursorArgumentCaptor.capture());
          assertThat(mCursorArgumentCaptor.getValue(), sameInstance(mCursor));
          assertThat(mBundleArgumentCaptor.getValue(), equalToBundle(mIntent.getExtras()));
      }
  
  }