public void testSessionInfo() throws Exception {
infos.add(new SessionInfo("session-1", 12345, 67890));
infos.add(new SessionInfo("session-2", 1, 2));
infos.add(new SessionInfo("session-3", 1, 2));
final IReportVisitor visitor = formatter.createVisitor(output);
visitor.visitInfo(infos, data);
visitor.visitGroup("foo");
visitor.visitEnd();
assertPathMatches("session-1", "/report/sessioninfo[1]/@id");
assertPathMatches("12345", "/report/sessioninfo[1]/@start");
assertPathMatches("67890", "/report/sessioninfo[1]/@dump");