### Question:
CaseManagementStageShapeView extends CaseManagementShapeView { @Override public Optional<MultiPath> getDropZone() { this.getCanvas() .ifPresent(c -> c.getPanelBounds(). ifPresent(b -> this.createDropZone(b.getHeight()))); return super.getDropZone(); } CaseManagementStageShapeView(String name,
                                        SVGPrimitiveShape svgPrimitive,
                                        double width,
                                        double height,
                                        boolean resizable); @Override Optional<MultiPath> getDropZone();  }### Answer:
@Test public void testMakeDropZone() throws Exception { Optional<MultiPath> dropZone = tested.getDropZone(); assertTrue(dropZone.isPresent()); }
@Test public void testGetDropZone() throws Exception { Optional<MultiPath> dropZone1 = tested.getDropZone(); when(canvas.getPanelBounds()).thenReturn(Optional.of(Bounds.build(0.0, 0.0, 0.0, 9999.0))); Optional<MultiPath> dropZone2 = tested.getDropZone(); assertNotEquals(dropZone1, dropZone2); }