@SuppressWarnings("deprecation")
public void testNavigazione() throws Exception {
DBCentro dbCentro = new DBCentro();
dbCentro.preparaDb();
DBPages dbPages = new DBPages();
dbPages.preparaDb();
_reqMock = new MockHttpServletRequest("GET", "/nav.page");
_reqMock.addRole(Constant.ROLE_USER);
_reqMock.getSession().setAttribute(Constant.ID_CENTRO_SESSIONE, new Long(3));
_reqMock.setParameter(Constant.ID, "1");
ModelAndView mav = _controller.handleRequest(_reqMock, _resMock);
assertEquals("pages/dettaglioContent", mav.getViewName());
dbPages.pulisciDb();
dbCentro.pulisciDb();
dbPages = null;
dbCentro = null;
}