title: How to capture a list of specific type with mockito
body: <p>Is there a way to capture a list of specific type using mockitos ArgumentCaptore. This doesn't work:</p>
  
  <pre><code>ArgumentCaptor&lt;ArrayList&lt;SomeType&gt;&gt; argument = ArgumentCaptor.forClass(ArrayList.class);
  </code></pre>