j1.addRecord(new JournalRecordTesting(makeXid(1), JournalRecordPrepared.OPCODE));
j1.addRecord(new JournalRecordTesting(makeXid(1), JournalRecordCompleted.OPCODE));
assertEquals(nZeroObjectsLength, tempFile1.length());
j1.flush();
assertTrue(tempFile1.length() > nZeroObjectsLength);
j1.completed(); //COMPACT
assertEquals(0, perJournal.getActiveTransactions());
assertEquals(tempFile2, perJournal.getActiveJournal());
assertEquals(nZeroObjectsLength, tempFile2.length());
assertEquals(nHeaderLength, tempFile1.length());
j1 = null;