@Test
public void testPrepareSvReadAllLogs() {

  CalypsoPo calypsoPoRev31 = createCalypsoPo(FCI_STORED_VALUE_REV31);
  poTransaction = new PoTransaction(new SeResource<CalypsoPo>(poReader, calypsoPoRev31));
  poCommandsTestSet.put(PO_READ_SV_LOAD_LOG_FILE_CMD, PO_READ_SV_LOAD_LOG_FILE_RSP);
  poCommandsTestSet.put(PO_READ_SV_DEBIT_LOG_FILE_CMD, PO_READ_SV_DEBIT_LOG_FILE_RSP);
  poTransaction.prepareSvReadAllLogs();
  poTransaction.prepareReleasePoChannel();
  poTransaction.processPoCommands();
  assertThat(calypsoPoRev31.getSvLoadLogRecord()).isNotNull();
  assertThat(calypsoPoRev31.getSvDebitLogLastRecord()).isNotNull();
  List<SvDebitLogRecord> allDebitLogs = calypsoPoRev31.getSvDebitLogAllRecords();
  assertThat(calypsoPoRev31.getSvDebitLogAllRecords().size()).isEqualTo(3);
  assertThat(allDebitLogs.get(0).getSamId()).isEqualTo(0xAABBCC01);
  assertThat(allDebitLogs.get(1).getSamId()).isEqualTo(0xAABBCC02);
  assertThat(allDebitLogs.get(2).getSamId()).isEqualTo(0xAABBCC03);
}