private UserAbstractFactory getCenterUserFactory() {
return UserFactoryBuilder.getInstance().getFactory();
}
private CenterUser getFakeUser() {
CenterUserCommand command = getCenterUserFactory().createUserCommand();
command.setZipCode("09100");
command.setCity("Cagliari");
command.setCountry("Campidano");
command.setProvince("CA");
command.setRegion("Sardegna");
command.setStreet("V.le Europe 4");
command.setDateOfBirth(new Date());
command.setEmail("max@gmail.com");
command.setName("Paperino");
command.setSurname("paolino");
command.setSensibleData("no sensible data");
command.setAcceptSms(true);
command.setMobile("3391234556");
command.setTelephoneHome("070123456");
command.setTelephoneWork("070987654");
command.setCenterId("centerThree");
command.setDescription("descr");
command.setGroupId("groupOne");
return getCenterUserFactory().createUser(command);
}