Delete MockServer when using RestTemplate with MockMvc

This commit is contained in:
Jason Zhekov 2018-08-02 18:36:48 +03:00 committed by Rossen Stoyanchev
parent aec98268fe
commit 0878e438e5
1 changed files with 0 additions and 2 deletions

View File

@ -5590,8 +5590,6 @@ server-side logic but without running a server. Here is an example:
this.restTemplate = new RestTemplate(new MockMvcClientHttpRequestFactory(mockMvc));
// Test code that uses the above RestTemplate ...
mockServer.verify();
----
[[spring-mvc-test-client-static-imports]]