@Test
public void svUndebitCmdBuild_mode_rev3_2_256() {

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