int lastSnapshotSize = -1;
public static void main(String[] args) throws Exception {
SnapshotSize handler = new SnapshotSize();
ReliableLog log = new ReliableLog(".", handler);
if (log.snapshotSize() != handler.lastSnapshotSize) {
throw new Error();
}
String[] snapshots = { "some", "sample", "objects", "to", "snapshot" };
for (int i = 0; i < snapshots.length; i++) {