public UserData getLoggedUser() { bean.setUserName("admin"); bean.setPermission("Admin"); bean.setUserAdmin("admin"); return bean; }
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; }
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; }
public UserData getInvalidUser() { bean.setUserName(null); return bean; }