SplittingManager { public void setSplittingManagerOptions(@NonNull SplittingManagerOptions options) { this.options = options; } SplittingManager(@NonNull KujakuMapView mapView, @NonNull MapboxMap mapboxMap, @NonNull Style style); void setSplittingManagerOptions(@NonNull SplittingManagerOptions options); boolean startSplitting(@NonNull FillBoundaryLayer fillBoundaryLayer); void stopSplitting(); Circle drawCircle(@NonNull LatLng latLng); List<List<Point>> split(); boolean isSplittingEnabled(); boolean isSplittingReady(); void addOnSplittingClickListener(OnSplittingClickListener listener); void addOnKujakuLayerClickListener(OnKujakuLayerClickListener listener);  }
@Test public void testSplittingManagerOptions() { SplittingManagerOptions options = new SplittingManagerOptions() { @Override public String getCircleColor() { return "green"; } @Override public String getLineColor() { return "blue"; } @Override public Float getCircleRadius() { return 5f; } @Override public String getKujakuFillLayerColor() { return "black"; } @Override public String getKujakuFillLayerColorSelected() { return "yellow"; } @Override public KujakuCircleOptions getKujakuCircleOptions() { return new KujakuCircleOptions() .withCircleRadius(getCircleRadius()) .withCircleColor(getCircleColor()) .withDraggable(true); } }; manager.setSplittingManagerOptions(options); Assert.assertEquals(options.getCircleColor(), "green"); Assert.assertEquals(options.getLineColor(), "blue"); Assert.assertEquals(options.getCircleRadius(), 5f, 0); Assert.assertEquals(options.getKujakuFillLayerColor(), "black"); Assert.assertEquals(options.getKujakuFillLayerColorSelected(), "yellow"); }