in my test I have the following line:
when(client.runTask(anyString(), anyString(), isA(Iterable.class)).thenReturn(...)
isA(Iterable.class) produces warning that it needs unchecked conversion to conform to Iterable<Integer> . What is syntax for that?
isA(Iterable<Integer>.class)
isA((Iterable<Integer>)Iterable.class
do not work.
Any suggestions?