assertNotNull(element.getCriteria());
assertEquals("foo >= bar", element.getCriteria()); //$NON-NLS-1$
// test recursion depth
assertEquals(MappingNodeConstants.Defaults.DEFAULT_RECURSION_LIMIT.intValue(), element.getRecursionLimit());
assertFalse(element.throwExceptionOnRecurrsionLimit());
element.setRecursionLimit(3, true);
assertEquals(3, element.getRecursionLimit());
assertTrue(element.throwExceptionOnRecurrsionLimit());
}
}