KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
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?
Tags (comma-separated)
Save Edits
Cancel