report.setOntoSpreadStateXML(OntoSpreadStateXMLSerializer.asXML(stateDAOPair.getOntoSpreadState()));
StatTOListType stats = new StatTOListType();
StatTO[] ontoStats = stateDAOPair.getOntoDAO().getStats();
for (StatTO statTO : ontoStats) {
StatTOType statTOType = new StatTOType();
statTOType.setType(statTO.getType());
statTOType.setValue(statTO.getValue());
stats.getStatTOs().add(statTOType);
}
report.setOntologyStats(stats);
report.getTestReports().add(testInfoReport);