ImageImpl extends AbstractComponentImpl implements Image { @NotNull @Override public String getExportedType() { return resource.getResourceType(); } ImageImpl(); @Override String getSrc(); @Override boolean displayPopupTitle(); @Override String getAlt(); @Override String getTitle(); @Override String getLink(); @Override @JsonIgnore String getFileReference(); @Override @JsonIgnore @Deprecated String getJson(); @NotNull @Override String getExportedType(); @Override @JsonIgnore boolean isDecorative(); @Override Resource getDataLayerAssetResource(); @Override String getDataLayerTitle(); @Override String getDataLayerLinkUrl(); static final String RESOURCE_TYPE; }
@Test void testExportedType() { Image image = getImageUnderTest(IMAGE0_PATH); assertEquals(ImageImpl.RESOURCE_TYPE, (image).getExportedType()); }