### Question:
DepartmentManagementImpl implements DepartmentManagementService { @Override public CommonResult updateDepartmentById(Department department) { if (departmentMapper.get(department.getId()) == null) { return CommonResult.fail(E_602); } int count = departmentMapper.update(department); if (count == 0) { return CommonResult.fail(); } return CommonResult.success(count); }  @Override CommonResult getDepartmentById(Integer id); @Override CommonResult insertDepartment(Department department); @Override CommonResult updateDepartmentById(Department department); @Override CommonResult deleteDepartmentById(Integer id); @Override CommonResult listAllDepartments(); @Override CommonResult listPage(Integer pageNum, Integer pageSize); @Override CommonResult listDepartmentsTree(); CommonResult listDoctorDepartments();  }### Answer:
@Test public void testUpdateDepartmentById() throws Exception { }