OrFilter extends BinaryLogicalFilter { public OrFilter or(Filter query) { append(query); return this; }  OrFilter or(Filter query);  }
@Test public void testOne() { OrFilter of = new OrFilter().or(new EqualsFilter("a", "b")); assertThat(of.encode()).isEqualTo("(a=b)"); }
@Test public void testTwo() { OrFilter of = new OrFilter().or(new EqualsFilter("a", "b")).or( new EqualsFilter("c", "d")); assertThat(of.encode()).isEqualTo("(|(a=b)(c=d))"); }
@Test public void testThree() { OrFilter of = new OrFilter().or(new EqualsFilter("a", "b")).or( new EqualsFilter("c", "d")).or(new EqualsFilter("e", "f")); assertThat(of.encode()).isEqualTo("(|(a=b)(c=d)(e=f))"); }