code: public void setUserName(String userName) {
          SystemAssert.requireArgument(userName != null && !userName.isEmpty(), "Username cannot be null or empty.");
          this.userName = userName;
      }
docs: Updates the user name for the user.
  
  @param  userName  The new user name.