use of com.evolveum.midpoint.prism.query.RefFilter in project midpoint by Evolveum.
the class TestFilterExpression method test202EvaluateExpressionLinkRefObjectReferenceTypeDefaultsNull.
@Test
public void test202EvaluateExpressionLinkRefObjectReferenceTypeDefaultsNull() throws Exception {
final String TEST_NAME = "test202EvaluateExpressionLinkRefObjectReferenceTypeDefaultsNull";
TestUtil.displayTestTile(TEST_NAME);
// GIVEN
OperationResult result = new OperationResult(TestFilterExpression.class.getName() + "." + TEST_NAME);
Task task = taskManager.createTaskInstance(TEST_NAME);
ObjectFilter filter = evaluateExpressionAssertFilter("expression-linkref-object-reference-type-filter-defaults.xml", null, RefFilter.class, task, result);
RefFilter refFilter = (RefFilter) filter;
AssertJUnit.assertNull("Expected NO values in filter, but found " + refFilter.getValues(), refFilter.getValues());
executeFilter(filter, 2, task, result);
}
Aggregations