I have method to to test junit below
public Response submitData(String a, BigInteger b, HttpServletRequest request){
}
I have mockito junit method below
@Test
public void submitData_Success() throws Exception {
when(inAbcExample.submitData(anyString(),eq(new BigInteger("12")),mockRequest)).thenReturn(response);
}
I'm getting invalid use of matcher exception. whether above lines are correct