@Test
public void readRecords_rev2_4() {

  byte cla = (byte) 0x94;
  byte cmd = (byte) 0xB2;
  byte sfi = (byte) 0x08;
  byte p2 = (byte) ((byte) (sfi * 8) + 4); // one records
  // revision 2.4
  byte[] request2_4 = {cla, cmd, record_number, p2, 0x00};
  readRecordsCmdBuilder =
      new ReadRecordsCmdBuild(
          PoClass.LEGACY,
          sfi,
          record_number,
          ReadRecordsCmdBuild.ReadMode.ONE_RECORD,
          expectedLength);
  apduRequest = readRecordsCmdBuilder.getApduRequest();
  assertThat(apduRequest.getBytes()).isEqualTo(request2_4);
  assertThat(readRecordsCmdBuilder.getReadMode())
      .isEqualTo(ReadRecordsCmdBuild.ReadMode.ONE_RECORD);
}