@Autowired
WebApplicationContext wac;
MockMvc mockMvc;
@Before
public void setUpMockMvc() {
<BUG>mockMvc = MockMvcBuilders.webAppContextSetup(wac)

.build();</BUG>
}
@Test

@Autowired
WebApplicationContext wac;
MockMvc mockMvc;
@Before
public void setUpMockMvc() {
mockMvc = MockMvcBuilders.webAppContextSetup(wac)//
.apply(springSecurity())//
.build();
}
@Test
