Is there a way to capture a list of specific type using mockitos ArgumentCaptore. This doesn’t work:

ArgumentCaptor<ArrayList<SomeType>> argument = ArgumentCaptor.forClass(ArrayList.class);

8 Answers
8

Leave a Reply

Your email address will not be published. Required fields are marked *