open static fun createServer(restTemplate: RestTemplate): MockRestServiceServer
A shortcut for bindTo(restTemplate).build().
restTemplate - the RestTemplate to set up for mock testing
Return
the mock server
open static fun createServer(asyncRestTemplate: AsyncRestTemplate): MockRestServiceServer
A shortcut for bindTo(asyncRestTemplate).build().
asyncRestTemplate - the AsyncRestTemplate to set up for mock testing
Return
the created mock server
open static fun createServer(restGateway: RestGatewaySupport): MockRestServiceServer
A shortcut for bindTo(restGateway).build().
restGateway - the REST gateway to set up for mock testing
Return
the created mock server