@Test
public void svUndebitCmdBuild_mode_compat_get_debit_data() {

  SvUndebitCmdBuild svUndebitCmdBuild =
      new SvUndebitCmdBuild(
          PoClass.ISO,
          PoRevision.REV3_1,
          /* amount */ 1, /*
                           * KVC
                           */
          (byte) 0xAA, /* date */
          ByteArrayUtil.fromHex("1122"),
          /* time */ ByteArrayUtil.fromHex("3344"));
  byte[] svUndebitData = svUndebitCmdBuild.getSvUndebitData();
  Assert.assertArrayEquals(ByteArrayUtil.fromHex("BC00001400000111223344AA"), svUndebitData);
}