source: class SysUserControllerTest {
  
  	@Autowired
  	private WebApplicationContext wac;
  	private MockMvc mockMvc;
  
  	@Test
  	@Transactional
  	public void whenDeleteSuccess() throws Exception {
  
target: 		mockMvc.perform(delete("/users/1")
  				.header("x-userid-header", 1)
  				.header("x-user-header", "admin")
  				.header("x-tenant-header", "webApp")
  				.contentType(MediaType.APPLICATION_JSON_UTF8))
  				.andExpect(status().isOk());
  	}
  
  }