@Test
public void readRecordRespPars_getRecords_singleRecord() {

  ReadRecordsCmdBuild readRecordsCmdBuild =
      new ReadRecordsCmdBuild(
          PoClass.ISO, SFI1, FIRST_REC1, ReadMode.ONE_RECORD, EXPECTED_LENGTH1);
  ReadRecordsRespPars readRecordRespPars =
      readRecordsCmdBuild.createResponseParser(
          new ApduResponse(ByteArrayUtil.fromHex(APDU_ONE_RECORD), null));
  readRecordRespPars.checkStatus();
  SortedMap<Integer, byte[]> records = readRecordRespPars.getRecords();
  assertThat(records.size()).isEqualTo(1);
  assertThat(records.get(FIRST_REC1)).isEqualTo(ByteArrayUtil.fromHex(REC1));
}