title: Mockito - Returning the first element of a list passed into method
body: <p>I have the following method that I'm trying to mock.</p>
  
  <p><code>public T myFunction(List&lt;T&gt;);</code></p>
  
  <p>Is it possible for Mockito to return the first element of the list?</p>