@Before public void setUp() { mockMvc = MockMvcBuilders.webApplicationContextSetup(webApplicationContext).build(); }