@Before
public void before() {
final IQuickFix fixMock1 = mock(IQuickFix.class);
testedClass = new MocksQuickFixProcessor(Arrays.asList(fixMock1, fixMock2));
}
When converting fixMock2, exception is thrown from ContextBaseTypeFinder. That's because it is treated as a method with two parameters, and the method binding returns array instead.
When converting fixMock2, exception is thrown from ContextBaseTypeFinder. That's because it is treated as a method with two parameters, and the method binding returns array instead.