public void testAggiornaPage() {
DBCentro dbCentro = new DBCentro();
dbCentro.preparaDb();
DBPages db = new DBPages();
PageLight pageLight = new PageLightImpl(0,"prova");
Page pagina = new PageImpl("blah blah",false,1,46,pageLight);
assertTrue(_service.getPages().size() == 0);
Long id = _service.savePage(pagina);
assertTrue(_service.getPages().size() == 1);
PageLight pageLightUpdate = new PageLightImpl(id,"test");
Page paginaUpdate = new PageImpl("mumble mumble",false,2,46,pageLightUpdate);
assertTrue(_service.savePage(paginaUpdate)== 1);
Page recuperata = _service.getPage(id);