AEMFormModel implements ComponentExporter { @Nullable public String getIcChannel() { if (ADAPTIVE_DOCUMENT.equals(formType)) { return icChannel; } return null; }  @Nullable String getFormPath(); @Nullable String getGuidePath(); String getThemeRef(); Boolean getIsValidForm(); String getFormType(); @Nullable String getIcChannel(); String getWcmMode(); @Nonnull @Override String getExportedType();  }
@Test public void testGetIcChannel() { AEMFormModel aemFormModel = getFormUnderTest(AEMFormModel.class, ADAPTIVE_FORM); assertNull(aemFormModel.getIcChannel()); aemFormModel = getFormUnderTest(AEMFormModel.class, IC); assertEquals("webChannel", aemFormModel.getIcChannel()); }