DrawingManager { public void unsetCurrentCircleDraggable() { if (this.getCurrentKujakuCircle() != null) { this.setDraggable(false, this.getCurrentKujakuCircle().getCircle()); } } DrawingManager(@NonNull KujakuMapView mapView, @NonNull MapboxMap mapboxMap, @NonNull Style style); static KujakuCircleOptions getKujakuCircleOptions(); static KujakuCircleOptions getKujakuCircleMiddleOptions(); static KujakuCircleOptions getKujakuCircleDraggableOptions(); boolean startDrawing(@Nullable FillBoundaryLayer fillBoundaryLayer); boolean editBoundary(@NonNull FillBoundaryLayer fillBoundaryLayer); void startDrawingPoints(@Nullable List<Point> points); Polygon stopDrawingAndDisplayLayer(); Polygon getCurrentPolygon(); boolean isDrawingEnabled(); Circle drawCircle(@NonNull LatLng latLng); Circle create(@NonNull KujakuCircleOptions options); void clearDrawing(); void delete(@Nullable KujakuCircle kujakuCircle); void deleteDrawingCurrentCircle(); void setDraggable(boolean draggable, @NonNull Circle circle); void unsetCurrentCircleDraggable(); boolean isMiddleCircle(@NonNull Circle circle); List<KujakuCircle> getKujakuCircles(); KujakuCircle getCurrentKujakuCircle(); void addOnDrawingCircleClickListener(OnDrawingCircleClickListener listener); void addOnKujakuLayerLongClickListener(OnKujakuLayerLongClickListener listener);  }
@Test public void unSetCurrentCircleDraggable() { manager.create(DrawingManager.getKujakuCircleOptions().withLatLng(new LatLng(1,1))); Circle circle = manager.getKujakuCircles().get(0).getCircle(); manager.setDraggable(true, circle); Assert.assertTrue(manager.getCurrentKujakuCircle().getCircle().isDraggable()); manager.unsetCurrentCircleDraggable(); Assert.assertNull(manager.getCurrentKujakuCircle()); }