title: Mockito isA(Class<T> clazz) How to resolve type safety?
body: <p>in my test I have the following line:</p>
  
  <pre><code>when(client.runTask(anyString(), anyString(), isA(Iterable.class)).thenReturn(...)
  </code></pre>
  
  <p><code>isA(Iterable.class)</code> produces warning that it needs unchecked conversion to conform to <code>Iterable&lt;Integer&gt;</code> . What is syntax for that?</p>
  
  <pre><code>isA(Iterable&lt;Integer&gt;.class)
  isA((Iterable&lt;Integer&gt;)Iterable.class
  </code></pre>
  
  <p>do not work.</p>
  
  <p>Any suggestions?</p>