@Test
public void svDebitCmdBuild_mode_rev3_2_base() {

  SvDebitCmdBuild svDebitCmdBuild =
      new SvDebitCmdBuild(
          PoClass.ISO,
          PoRevision.REV3_2,
          /* amount */ 1, /* KVC */
          (byte) 0xAA, /* date */
          ByteArrayUtil.fromHex("1122"),
          /* time */ ByteArrayUtil.fromHex("3344"));
  svDebitCmdBuild.finalizeBuilder(
      /* SAM ID + prepare SV Debit data */ ByteArrayUtil.fromHex(
          "AABBCCDD55667712345611223344556677889900"));
  String apdu = ByteArrayUtil.toHex(svDebitCmdBuild.getApduRequest().getBytes());
  Assert.assertEquals("00BA55661977FFFF11223344AAAABBCCDD12345611223344556677889900", apdu);
}