diff --git a/spring-boot-test-autoconfigure/src/test/java/org/springframework/boot/test/autoconfigure/web/servlet/WebMvcTestOneControllerIntegrationTests.java b/spring-boot-test-autoconfigure/src/test/java/org/springframework/boot/test/autoconfigure/web/servlet/WebMvcTestOneControllerIntegrationTests.java index 8af6956634..cbedd52aba 100644 --- a/spring-boot-test-autoconfigure/src/test/java/org/springframework/boot/test/autoconfigure/web/servlet/WebMvcTestOneControllerIntegrationTests.java +++ b/spring-boot-test-autoconfigure/src/test/java/org/springframework/boot/test/autoconfigure/web/servlet/WebMvcTestOneControllerIntegrationTests.java @@ -40,7 +40,7 @@ public class WebMvcTestOneControllerIntegrationTests { private MockMvc mvc; @Test - public void shouldFindController1() throws Exception { + public void shouldNotFindController1() throws Exception { this.mvc.perform(get("/one")).andExpect(status().isNotFound()); }