jmock 中unexpected invocation错误远程服务接口?有一句话:To define looser constraints, specify all ar
jmock 中unexpected invocation错误
远程服务接口
?
有一句话:To define looser constraints, specify all arguments as matchers within with clauses:allowing (calculator).add(with(any(int.class)), with(any(int.class)));?
?
使用:?oneOf(remoteService).findMemberById(with(any(Query.class))); 这句解决问题。
?
?
