public void testSessionInfo() throws Exception {
final List<SessionInfo> infos = new ArrayList<SessionInfo>();
infos.add(new SessionInfo("session-1", 12345, 67890));
infos.add(new SessionInfo("session-2", 1, 2));
infos.add(new SessionInfo("session-3", 1, 2));
ICoverageNode node = new CoverageNodeImpl(ElementType.GROUP, "Sample",
false);
final Collection<ExecutionData> data = Collections.emptyList();
formatter.createReportVisitor(node, infos, data).visitEnd(null);
assertPathMatches("session-1", "/report/sessioninfo[1]/@id");
assertPathMatches("12345", "/report/sessioninfo[1]/@start");