String end = "";
this.setUserOnSession("admin");
String result = this.executeViewStats(start, end);
assertEquals(Action.SUCCESS, result);
StatisticsAction action = (StatisticsAction) this.getAction();
DatasetProducer accessChart = (DatasetProducer) action.getHitsTimeData();
DatasetProducer mostVisitedPagesChart = (DatasetProducer) action.getMostVisitedPagestimeData();
TopContentsCDP topContents = (TopContentsCDP) action.getTopContentsDataset();//request.getAttribute("TopContents");
assertNotNull(accessChart);
assertNotNull(mostVisitedPagesChart);
assertNotNull(topContents);
DefaultIntervalCategoryDataset data = (DefaultIntervalCategoryDataset) topContents.produceDataset(null);