### Question:
FacilitySoftwareController { @ResponseStatus(HttpStatus.OK) @RequestMapping(value = "/{id}", method = RequestMethod.DELETE) public void delete(@PathVariable String id) { repository.deleteById(id); }  @RequestMapping(method = RequestMethod.POST) @ResponseStatus(HttpStatus.CREATED) void createServer(@RequestBody FacilitySoftwareConfig config,
         HttpServletRequest request); @RequestMapping(value = "/{id}", method = RequestMethod.GET) FacilitySoftwareConfig getFacilitySoftwareConfigByID(@PathVariable String id); @RequestMapping(value = "/type/{type}", method = RequestMethod.GET) List<FacilitySoftwareConfig> getFacilitySoftwareConfigByType(
         @PathVariable SoftwareType type); @RequestMapping(value = "/page/{pageNumber}/pagesize/{pageSize}", method = RequestMethod.GET) Page<FacilitySoftwareConfig> queryFacilitySoftwareConfigByPage(
         @PathVariable("pageNumber") int currentPage, @PathVariable("pageSize") int pageSize,
         HttpServletRequest request,
         @RequestParam(required = false) SoftwareType[] softwaretypes); @ResponseStatus(HttpStatus.OK) @RequestMapping(value = "/{id}", method = RequestMethod.DELETE) void delete(@PathVariable String id); @ResponseStatus(HttpStatus.OK) @RequestMapping(value = "/status", method = RequestMethod.PUT, consumes = MediaType.APPLICATION_JSON_VALUE) void updateStatus(@RequestBody FacilitySoftwareConfig server); @ResponseStatus(HttpStatus.OK) @RequestMapping(method = RequestMethod.PUT, consumes = MediaType.APPLICATION_JSON_VALUE) void updateFacilitySoftwareConfig(@RequestBody FacilitySoftwareConfig config); @ResponseStatus(HttpStatus.CREATED) @RequestMapping(value = "/syncdatabyserverid/{id}", method = RequestMethod.POST) void syncFacilityServerData(@PathVariable("id") String id, HttpServletRequest request);  }### Answer:
@Test public void facilitySoftwareDeleteExample() throws Exception { FacilitySoftwareConfig facilitySoftware = createFacilitySoftware(); facilitySoftware = facilitySoftwareRepository.save(facilitySoftware); this.mockMvc .perform(delete("/v1/facilitysoftware/" + facilitySoftware.getId()) .content("{\"id\":\"" + facilitySoftware.getId() + "\"}")) .andExpect(status().isOk()) .andDo(document("facilitySoftware-delete-example", requestFields( fieldWithPath("id").description("The primary key for facility software.")))); }