title: mockito anyList of a given size
body: <p>I'm verifying with mockito that a method has been called. The method:</p>
  
  <pre><code>public void createButtons(final List&lt;Button&gt; buttonsConfiguration) {...}
  </code></pre>
  
  <p>Since It doesn't matter which list is passed I verify that the method is called as follows:</p>
  
  <pre><code>verify(mock).createButtons(Matchers.anyListOf(Button.class));
  </code></pre>
  
  <p>But, the size of the <code>List</code> is important. So, it doesn't matter which <code>List</code> but the list has to have X elements.</p>
  
  <p>Is that possible at all?</p>