### Question:
WxCpDepartmentServiceImpl implements WxCpDepartmentService { @Override public void delete(Integer departId) throws WxErrorException { String url = "https: this.mainService.get(url, null); } WxCpDepartmentServiceImpl(WxCpService mainService); @Override Integer create(WxCpDepart depart); @Override void update(WxCpDepart group); @Override void delete(Integer departId); @Override List<WxCpDepart> list(Integer id);  }### Answer:
@Test(dependsOnMethods = "testUpdate") public void testDelete() throws Exception { System.out.println("=================删除部门"); System.out.println(this.depart.getId() + ":" + this.depart.getName()); this.wxCpService.getDepartmentService().delete(this.depart.getId()); }