anyInt()

anyInt()

Used to get any integer argument

when(listMock.get(anyInt())).thenReturn("hello");