View Javadoc
1   package org.woehlke.bloodmoney.measurements;
2   
3   /*
4   import org.junit.jupiter.api.Test;
5   import org.springframework.beans.factory.annotation.Autowired;
6   import org.springframework.boot.test.autoconfigure.web.servlet.AutoConfigureMockMvc;
7   import org.springframework.boot.test.context.SpringBootTest;
8   import org.springframework.test.web.servlet.MockMvc;
9   
10  import static org.hamcrest.Matchers.containsString;
11  import static org.springframework.test.web.servlet.request.MockMvcRequestBuilders.get;
12  import static org.springframework.test.web.servlet.result.MockMvcResultHandlers.print;
13  import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.content;
14  import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.status;
15  */
16  
17  //@SpringBootTest
18  //@AutoConfigureMockMvc
19  public class TestingWebApplicationTest {
20  
21      //@Autowired
22      //private MockMvc mockMvc;
23  
24      //@Test
25      /*
26      public void shouldReturnDefaultMessage() throws Exception {
27          this.mockMvc.perform(get("/")).andDo(print()).andExpect(status().isOk())
28              .andExpect(content().string(containsString("Ihre App um Messwerte zu erfassen")));
29      }
30      */
31  }