From 0878e438e58e1f797c0a66698969619dd18505b8 Mon Sep 17 00:00:00 2001 From: Jason Zhekov Date: Thu, 2 Aug 2018 18:36:48 +0300 Subject: [PATCH] Delete MockServer when using RestTemplate with MockMvc --- src/docs/asciidoc/testing.adoc | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/docs/asciidoc/testing.adoc b/src/docs/asciidoc/testing.adoc index 59346a7dd1..a94b0dbf2f 100644 --- a/src/docs/asciidoc/testing.adoc +++ b/src/docs/asciidoc/testing.adoc @@ -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]]