@Test(groups = {"functional.encode", "circuitSwitchedCall"})
  public void testEncode() throws Exception {

    SendingSideIDImpl partyToCharge = new SendingSideIDImpl(LegType.leg2);
    FreeFormatData ffd = new FreeFormatDataImpl(getDataFFD());
    FCIBCCCAMELsequence1Impl fci =
        new FCIBCCCAMELsequence1Impl(ffd, partyToCharge, AppendFreeFormatData.append);
    FurnishChargingInformationRequestImpl elem = new FurnishChargingInformationRequestImpl(fci);
    AsnOutputStream aos = new AsnOutputStream();
    elem.encodeAll(aos);
    assertTrue(Arrays.equals(aos.toByteArray(), this.getData1()));
  }