title: Stubbing a method with dependend generic arguments using mockito
body: <p>Im trying to stub a method with dependend generic arguments like so:</p>
  
  <pre><code>&lt;T extends Foo&gt; void exampleMethod(Type&lt;T&gt; arg1, T arg2);
  </code></pre>
  
  <p>using Mockito.
  But when I try to do this like this</p>
  
  <pre><code>verify(mock).exampleMethod(isA(Type.class), any());
  </code></pre>
  
  <p>it does not work but gives me an unbounded generics error. (I know this is not stubbing but the example is easier this way and it boils down to the same thing I think.)</p>
  
  <p>If anybody could help it would be much appreciated. </p>