SyntaxFix
Write A Post
Hire A Developer
Questions
Before Java 8 (versions 7 or 6) I use the new method ArgumentMatchers.anyList:
import static org.mockito.Mockito.*; import org.mockito.ArgumentMatchers; verify(mock, atLeastOnce()).process(ArgumentMatchers.<Bar>anyList());