@Test
public void testSetApduRequestCase3() {

  // case 3: dataIn != null, le = null
  Iso7816CommandBuilder iso7816CommandBuilder =
      new Iso7816CommandBuilder(CommandRef.COMMAND_1, null);
  ApduRequest apduRequest =
      iso7816CommandBuilder.setApduRequest(
          (byte) 0xCC,
          CommandRef.COMMAND_1,
          (byte) 0xB1,
          (byte) 0xB2,
          ByteArrayUtil.fromHex("11223344"),
          null);
  logger.info("APDU case3: {}", ByteArrayUtil.toHex(apduRequest.getBytes()));
  Assert.assertArrayEquals(
      ByteArrayUtil.fromHex("CC 11 B1 B2 04 11223344"), apduRequest.getBytes());
  Assert.assertFalse(apduRequest.isCase4());
}