}
@Test
public void testTwoSessions() throws Exception {
writer.visitSessionInfo(new SessionInfo("Session", 10, 20));
writer.visitClassExecution(new ExecutionData(11, "Clazz1", new boolean[8]));
writer.sendCmdOk();
verifyExecContent(dumper.dump(), "Clazz1");
assertTrue(dumper.hasDataReceived());
writer.visitSessionInfo(new SessionInfo("Session", 10, 20));
writer.visitClassExecution(new ExecutionData(11, "Clazz2", new boolean[8]));
writer.sendCmdOk();
out.close();
verifyExecContent(dumper.dump(), "Clazz2");
assertTrue(dumper.hasDataReceived());