public void testHelloWorldEndpoint() throws Exception {\r
when(helloWorldController.helloWorld()).thenReturn("Hello World from service stub\n");\r
\r
- mockMvc.perform(get("/helloworld"))\r
+ mockMvc.perform(get("/v1/helloworld"))\r
.andExpect(status().isOk())\r
.andExpect(content().string("Hello World from service stub\n"));\r
}\r
public void testHelloWorldSmeEndpoint() throws Exception {\r
when(helloWorldController.helloWorldSme()).thenReturn("Hello World from SME\n");\r
\r
- mockMvc.perform(get("/helloworld/sme"))\r
+ mockMvc.perform(get("/v1/helloworld/sme"))\r
.andExpect(status().isOk())\r
.andExpect(content().string("Hello World from SME\n"));\r
}\r