title: mockito verify interactions with ArgumentCaptor
body: <p>To check the number of interactions with a mock where the parameter in the method call is of a certain type, one can do</p>
  
  <pre><code>mock.someMethod(new FirstClass());
  mock.someMethod(new OtherClass());
  verify(mock, times(1)).someMethod(isA(FirstClass.class));
  </code></pre>
  
  <p>This will pass thanks to the call to <code>isA</code> since <code>someMethod</code> was called twice but only once with argument FirstClass</p>
  
  <p>However, this pattern seems to not be possible when using an ArgumentCaptor, even if the Captor was created for the particular argument <code>FirstClass</code></p>
  
  <p>this doesn't work</p>
  
  <pre><code>mock.someMethod(new FirstClass());
  mock.someMethod(new OtherClass());
  ArgumentCaptor&lt;FirstClass&gt; captor = ArgumentCaptor.forClass(FirstClass.class);
  verify(mock, times(1)).someMethod(captor.capture());
  </code></pre>
  
  <p>it says the mock was called more than once.</p>
  
  <p>Is there any way to accomplish this verification while capturing the argument for further checking?</p>