title: How to use Mockito's anyCollectionOf()
body: <p>An answewr on this thread suggested using anyCollectionOf() however I cannot get it to work
  <a href="https://stackoverflow.com/questions/6175753/mockito-verifying-with-generic-parameters">Mockito: Verifying with generic parameters</a></p>
  
  <p>I have a Generic Class for holding two "versions" of the same object for comparison purposes</p>
  
  <pre><code>public class ChangedVO&lt;T&gt; {
  
  private T before;
  private T after;
  
  /*** Constructors ***/
  
  public ChangedVO() {}
  
  public ChangedVO(T before, T after) {
      this.before = before;
      this.after = after;
  }
  
  /*** Getters &amp; setters ***/
  
  ...
  }
  </code></pre>
  
  <p>Now in my UnitTest the following code "does" work...</p>
  
  <pre><code>verify(emailService, never()).sendBookChangesEmail(Matchers.&lt;List&lt;ChangedVO&lt;BookVO&gt;&gt;&gt;any());
  </code></pre>
  
  <p>...however I'm interested to know how the same thing can be achieved using anyCollectionOf() ?</p>