title: how do I mock an array and List in EasyMock
body: <p>Hello I am looking to test out a class using Junit and EasyMock, Only issue is I have an issue understanding what to do with Arrays and List of objects in terms of mocking the data.</p>
  
  <pre><code>public void hereisClassIamMocking(@Nonnull final List&lt;object&gt; manyObjects,
          @Nullable final weirdArrayObject[] waoItems)
  </code></pre>
  
  <p>Does anyone know how to do this , while continuing to use EasyMock ?</p>