selector);
assertThat(constraint, is(instanceOf(Or.class)));
Or or = (Or)constraint;
assertThat(or.left(), is(instanceOf(SameNode.class)));
SameNode first = (SameNode)or.left();
assertThat(first.selectorName(), is(selectorName("tableA")));
assertThat(first.getPath(), is("/a/b"));
assertThat(or.right(), is(instanceOf(And.class)));
And and = (And)or.right();
assertThat(and.left(), is(instanceOf(SameNode.class)));
SameNode second = (SameNode)and.left();
assertThat(second.selectorName(), is(selectorName("tableA")));
assertThat(second.getPath(), is("/c/d"));
assertThat(and.right(), is(instanceOf(SameNode.class)));
SameNode third = (SameNode)and.right();
assertThat(third.selectorName(), is(selectorName("tableA")));
assertThat(third.getPath(), is("/e/f"));
}