List actualBlocks = output.getActualBlocks();
System.out.println(actualBlocks);
assertEquals(ControlBlock.LIST_BEGIN, actualBlocks.get(0));
assertEquals(ControlBlock.LIST_END, actualBlocks.get(actualBlocks.size()-1));
Tuple tuple1 = (Tuple)actualBlocks.get(2);
assertEquals("no", tuple1.getString(0));
// no - maybe
assertEquals(1, tuple1.getLong(1));
// no - no
assertEquals(2, tuple1.getLong(2));
// no - yes
assertEquals(1, tuple1.getLong(3));
Tuple tuple2 = (Tuple)actualBlocks.get(3);
assertEquals("yes", tuple2.getString(0));
// yes - maybe
assertEquals(0, tuple2.getLong(1));
// yes - no
assertEquals(1, tuple2.getLong(2));
// yes - yes
assertEquals(2, tuple2.getLong(3));
Tuple tuple3 = (Tuple)actualBlocks.get(4);
assertEquals("maybe", tuple3.getString(0));
// maybe - maybe
assertEquals(0, tuple3.getLong(1));
// maybe - no
assertEquals(0, tuple3.getLong(2));
// maybe - yes
assertEquals(1, tuple3.getLong(3));
}