ClusterAccessor clusterAccessor = new ClusterAccessor(_clusterId, _dataAccessor);
Cluster cluster = clusterAccessor.readCluster();
ResourceId resourceId = ResourceId.from("TestDB0");
Resource resource = cluster.getResource(resourceId);
ResourceCurrentState currentStateOutput = new ResourceCurrentState();
ResourceAssignment semiAutoResult =
resource.getRebalancerConfig().getRebalancer()
.computeResourceMapping(resource.getRebalancerConfig(), cluster, currentStateOutput);
verifySemiAutoRebalance(resource, semiAutoResult);