use of com.evolveum.midpoint.repo.common.activity.run.buckets.segmentation.BucketContentFactory in project midpoint by Evolveum.
the class TestBucketingStatic method test040OidBuckets.
/**
* Tests the OID buckets strategy. Checks that it provides the correct bucket boundaries.
*/
@Test
public void test040OidBuckets() throws Exception {
OperationResult result = createOperationResult();
taskAdd(TASK_040, result);
Task task = taskManager.getTaskPlain(TASK_040.oid, result);
when();
BucketContentFactory contentFactory = createContentFactory(getDistributionDefinition(task));
then();
assertBoundaries(contentFactory, singletonList("0123456789abcdef"));
}
Aggregations