### Question:
PermissionService { @Transactional public boolean savePermission(PermissionReqDto permissionReqDto) { try { Permission permission = buildPermission(permissionReqDto); this.permissionRepository.save(permission); return true; } catch (Exception e) { log.error("create permission error", e.getMessage()); } return false; }  @Transactional boolean savePermission(PermissionReqDto permissionReqDto); @Transactional boolean deletePermission(int id); @Transactional boolean changePermissionStatus(int id, boolean active); @Transactional boolean updatePermission(int id, PermissionReqDto permissionReqDto); PermissionRespDto findPermissionDetail(int id); List<PermissionRespDto> findAll(String name);  }### Answer:
@Test public void savePermission() throws Exception { PermissionRespDto permission=new PermissionRespDto(); permission.setName("链路监控"); permission.setIcon("monitor_trace"); permission.setIframe(false); permission.setIsActive(true); permission.setSort(2); permission.setUrl("trace"); permission.setPermission("monitor:trace"); permission.setParentId(5); this.permissionService.savePermission(permission); }