Exemple #1
0
  public UserData getExistentUserBean() {

    String firstName = "daniella";
    String lastName = "bezerra";
    String email = "*****@*****.**";
    String permission = "admin";
    String password = "******";
    String countryCode = "55";
    String areaCode = "92";
    String phoneNumber = "21239735";
    String user = "******";

    bean.setUserName(user);
    bean.setFirstName(firstName);
    bean.setLastName(lastName);
    bean.setEmail(email);
    bean.setPermission(permission);
    bean.setCountryCode(countryCode);
    bean.setAreaCode(areaCode);
    bean.setPhoneNumber(phoneNumber);
    bean.setPassword(password);

    return bean;
  }
Exemple #2
0
  public UserData getUpdateUserBean() {

    String firstName = "antonietolisty";
    String lastName = "aguiar";
    String email = "*****@*****.**";
    String permission = "admin";
    String password = "******";
    String countryCode = "55";
    String areaCode = "92";
    String phoneNumber = "21239735";
    String user = "******";

    bean.setUserName(user);
    bean.setFirstName(firstName);
    bean.setLastName(lastName);
    bean.setEmail(email);
    bean.setPermission(permission);
    bean.setCountryCode(countryCode);
    bean.setAreaCode(areaCode);
    bean.setPhoneNumber(phoneNumber);
    bean.setPassword(password);

    return bean;
  }