mirror of
				https://gitee.com/binary/weixin-java-tools.git
				synced 2025-11-01 00:46:54 +08:00 
			
		
		
		
	🎨 Use explicit types on lambda arguments
This commit is contained in:
		| @@ -237,7 +237,7 @@ public class BaseWxMpServiceImplTest { | ||||
|     RequestExecutor<Object, Object> re = mock(RequestExecutor.class); | ||||
|  | ||||
|     AtomicInteger counter = new AtomicInteger(); | ||||
|     Mockito.when(re.execute(Mockito.anyString(), Mockito.any(), Mockito.any())).thenAnswer(invocation -> { | ||||
|     Mockito.when(re.execute(Mockito.anyString(), Mockito.any(), Mockito.any())).thenAnswer((InvocationOnMock invocation) -> { | ||||
|       counter.incrementAndGet(); | ||||
|       WxError error = WxError.builder().errorCode(WxMpErrorMsgEnum.CODE_40001.getCode()).errorMsg(WxMpErrorMsgEnum.CODE_40001.getMsg()).build(); | ||||
|       throw new WxErrorException(error); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Kyle Scully
					Kyle Scully