2017-02-01から1日間の記事一覧
When using mockito, we should use eq for String. It seems that we should use eq even for long. If we foget to use it as follows: when(mockService.method(longValue, any(ClassA.class))).thenReturn(true); You will get the following error. org…