Spring AsyncRestTemplate的MockRestServiceServer
Spring4引入了AsyncRestTemplate,但我没有看到类似于MockRestServiceServer的工具用于此模板。有没有办法用模拟服务器为AsyncRestTemplate创建测试?似乎Spring 4.1将添加此支持:Spring AsyncRestTemplate的MockRestServiceServer,spring,testing,asynchronous,resttemplate,Spring,Testing,Asynchronous,Resttemplate,Spring4引入了AsyncRestTemplate,但我没有看到类似于MockRestServiceServer的工具用于此模板。有没有办法用模拟服务器为AsyncRestTemplate创建测试?似乎Spring 4.1将添加此支持: