title: Mockito: List Matchers with generics
body: <p>Mockito offers:</p>
  
  <p></p>
  
  <pre><code>when(mock.process(Matchers.any(List.class)));
  </code></pre>
  
  <p></p>
  
  <p>How to avoid warning if <code>process</code> takes a <code>List&lt;Bar&gt;</code> instead?<br/></p>