### Question:
PictureShapeView extends WiresContainerShapeView<T> { @Override public void destroy() { super.destroy(); LienzoPictureUtils.tryDestroy(getPicture(), (p) -> Scheduler.get().scheduleFixedDelay(() -> !LienzoPictureUtils.retryDestroy(p), 200)); } PictureShapeView(final String uri,
                            final double width,
                            final double height);  PictureShapeView(final MultiPath path); @Override void destroy();  }### Answer:
@Test public void checkPreDestructionRemovesResourcesFromDOM() { view.destroy(); verify(picture).removeFromParent(); verify(imageElement).removeFromParent(); }