assertEquals("MyClass", execStore.get(123).getName());
}
private byte[] createSessionData() throws Exception {
ByteArrayOutputStream buffer = new ByteArrayOutputStream();
ExecutionDataWriter writer = new ExecutionDataWriter(buffer);
SessionInfo info = new SessionInfo("id1", 1, 2);
writer.visitSessionInfo(info);
writer.visitClassExecution(new ExecutionData(123, "MyClass", new boolean[] {
true, false }));
return buffer.toByteArray();
}