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);
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);