@Test
public void readRecords_rev3_1() {

  byte cla = (byte) 0x00;
  byte cmd = (byte) 0xB2;
  byte sfi = (byte) 0x08;
  byte p2 = (byte) ((byte) (sfi * 8) + 5); // all records
  // revision 3.1
  byte[] request3_1 = {cla, cmd, record_number, p2, 0x00};
  readRecordsCmdBuilder =
      new ReadRecordsCmdBuild(
          PoClass.ISO,
          sfi,
          record_number,
          ReadRecordsCmdBuild.ReadMode.MULTIPLE_RECORD,
          expectedLength);
  apduRequest = readRecordsCmdBuilder.getApduRequest();
  assertThat(apduRequest.getBytes()).isEqualTo(request3_1);
  assertThat(readRecordsCmdBuilder.getReadMode())
      .isEqualTo(ReadRecordsCmdBuild.ReadMode.MULTIPLE_RECORD);
}