command.setZipCode("09100");
return getCenterFactory().createCenter(command);
}
private Center getSecondFakeCenter() {
CenterCommand command = getCenterFactory().createCenterCommand();
command.setCity("Oristano");
command.setCountry("Campidano");
command.setDescription("descr");
command.setEmail("pippo@gmail.com");
command.setEnabled(true);
command.setFax("070654321");
command.setName("Center Two");
command.setProvince("OR");
command.setRegion("Sardegna");
command.setSmsNumber(234);
command.setStreet("Via Parco della Vittoria 27");
command.setTelephone("070734527");
command.setUrl("http://www.secondcenter.org");
command.setUsersNumber(123);
command.setZipCode("09345");
return getCenterFactory().createCenter(command);
}