### Question:
UserServiceImpl implements UserService { @Override public ServiceResult<UserDTO> findByUserName(UserParameter userParameter) { UserDO userDO = userDAO.findByUserName(userParameter.getUserName()); UserDTO userDTO = BeanUtil.convertIgnoreNullProperty(userDO, UserDTO.class); return new ServiceResult<UserDTO>(ResultStatusEnum.SUCCESS, userDTO); }  @Override ServiceResult<UserDTO> findByUserName(UserParameter userParameter); @Override @Transactional(rollbackFor = Exception.class) ServiceResult<UserDTO> saveUser(UserParameter userParameter); @Override @Transactional(rollbackFor = Exception.class) ServiceResult<Boolean> saveUserList(UserListParameter userListParameter);  }### Answer:
@Test public void findByUserNameTest(){ ServiceResult<UserDTO> userDTO=userService.findByUserName(new com.happycommunity.user.model.parameter.UserParameter().setUserName("Danny")); System.out.println(JSON.toJSONString(userDTO)); }