*/
public class FilterTest {
@Test
public void propertyRestriction() {
CoreValue one = new CoreValueFactory().createValue("1");
CoreValue two = new CoreValueFactory().createValue("2");
Filter f = new Filter(null);
assertTrue(null == f.getPropertyRestriction("x"));
f.restrictProperty("x", Operator.LESS_OR_EQUAL, two);
assertEquals("..2]", f.getPropertyRestriction("x").toString());