Skip to content

Commit 0878e43

Browse files
jasssonpetrstoyanchev
authored andcommitted
Delete MockServer when using RestTemplate with MockMvc
1 parent aec9826 commit 0878e43

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/docs/asciidoc/testing.adoc

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5590,8 +5590,6 @@ server-side logic but without running a server. Here is an example:
55905590
this.restTemplate = new RestTemplate(new MockMvcClientHttpRequestFactory(mockMvc));
55915591
55925592
// Test code that uses the above RestTemplate ...
5593-
5594-
mockServer.verify();
55955593
----
55965594

55975595
[[spring-mvc-test-client-static-imports]]

0 commit comments

Comments
 (0)