@Ignore
@Test
public void testPlanetsXMLEndToEnd() {
String[] topLevelItems = new String[] {"foo", "bar"};
PlanetsXMLData data = new PlanetsXMLData();
data.setTopLevelItems(Arrays.asList(topLevelItems));
List<GroupByYearSizeAndCountRow> dataList = new ArrayList<GroupByYearSizeAndCountRow>();
GroupByYearSizeAndCountRow groupByYearSizeAndCountRow = new GroupByYearSizeAndCountRow();
groupByYearSizeAndCountRow.setYear(1990);
groupByYearSizeAndCountRow.setCount(new BigInteger("20"));
groupByYearSizeAndCountRow.setSize(new BigDecimal("5000"));
dataList.add(groupByYearSizeAndCountRow);
data.setGroupByYear(dataList);
List<GroupByPuidSizeAndCountRow> dataList1 = new ArrayList<GroupByPuidSizeAndCountRow>();
GroupByPuidSizeAndCountRow groupByPuidSizeAndCountRow = new GroupByPuidSizeAndCountRow();
groupByPuidSizeAndCountRow.setPuid("Xfmt/doc");
groupByPuidSizeAndCountRow.setCount(new BigInteger("20"));
groupByPuidSizeAndCountRow.setSize(new BigDecimal("50000"));
dataList1.add(groupByPuidSizeAndCountRow);
data.setGroupByPuid(dataList1);
ProfileStat profileStat = new ProfileStat();
profileStat.setProfileEndDate(new Date());
profileStat.setProfileSaveDate(new Date());
profileStat.setProfileStartDate(new Date());
profileStat.setProfileLargestSize(new BigInteger("20"));
profileStat.setProfileMeanSize(new BigDecimal("50000"));
profileStat.setProfileSmallestSize(new BigInteger("20"));
profileStat.setProfileTotalSize(new BigInteger("20"));
profileStat.setProfileTotalReadableFiles(new BigInteger("20"));
profileStat.setProfileTotalUnReadableFiles(new BigInteger("20"));
profileStat.setProfileTotalUnReadableFolders(new BigInteger("20"));
data.setProfileStat(profileStat);
planetsGenerator = new PlanetsXMLGenerator(filename, data);
planetsGenerator.generate();
assertTrue(destination.exists());