ooo.writeObject(bench);
ooo.writeObject(q);
ooo.close();
byte[] bs = bos.toByteArray();
KryoInstream iii = new KryoInstream(new ByteArrayInputStream(bs));
Benchmark cp = iii.readObject(Benchmark.class);
Bean t = iii.readObject(Bean.class);
assertTrue(t.getId() != 0);
assertTrue(t.getBirth().getTime() == 1338008328334L);
assertTrue(bench.equals(cp));
}