private void modifyTransactionMakingItLookPreparedAndUncompleted() throws Exception {
   filterNeostoreLogicalLog(
       new DefaultFileSystemAbstraction(),
       storeDirectory.getAbsolutePath(),
       new LogHookAdapter<LogEntry>() {
         @Override
         public boolean accept(LogEntry item) {
           return !(item instanceof LogEntry.Done) && !(item instanceof LogEntry.TwoPhaseCommit);
         }
       });
   truncateFile(new File(storeDirectory, "tm_tx_log.1"), 0);
 }