ImageImpl extends com.adobe.cq.wcm.core.components.internal.models.v1.ImageImpl implements Image { @NotNull @Override public int[] getWidths() { return Arrays.copyOf(smartSizes, smartSizes.length); } ImageImpl(); @NotNull @Override int[] getWidths(); @Override String getSrcUriTemplate(); @Override boolean isLazyEnabled(); @Override int getLazyThreshold(); @Override List<ImageArea> getAreas(); @Override String getUuid(); static final String RESOURCE_TYPE; }
@Test void testSVGImage() { Image image = getImageUnderTest(IMAGE22_PATH); assertEquals(0, image.getWidths().length); }