My Code is as below,
@RunWith(MockitoJUnitRunner.class) public class MyClass { private static final String code =\"Test\"; @Mock private MyCl
If you use any() when mocking, you have to relpace @RunWith(MockitoJUnitRunner.class) with @RunWith(MockitoJUnitRunner.Silent.class).
@RunWith(MockitoJUnitRunner.class)
@RunWith(MockitoJUnitRunner.Silent.class)