@Test
public void checkDropZonesAreAddedForCaseManagementShapesWithDropZone() {
final MultiPath dropZone = mock(MultiPath.class);
when(dropZone.getAttributes()).thenReturn(mock(Attributes.class));
when(dropZone.getPathPartListArray()).thenReturn(new NFastArrayList<>());
final CaseManagementShapeView shape = mock(CaseManagementShapeView.class);
when(shape.getDropZone()).thenReturn(Optional.of(dropZone));
when(dropZone.getActualPathPartListArray()).thenReturn(new NFastArrayList<PathPartList>());
picker.addSupplementaryPaths(shape);
verify(picker,
times(1)).addDropZone(eq(shape));
verify(picker,
times(1)).drawShape(anyString(),
anyDouble(),
eq(dropZone),
any(PickerPart.class),
eq(true));
}