@Test
public void or() {

    Criterion o1 = Restrictions.eq(property, value);
    Criterion o2 = Restrictions.in(property, values);
    Criterion o3 = Restrictions.lt(property, value);
    Junction expected = Restrictions.disjunction().add(o1).add(o2).add(o3);
    assertEquivalent(expected, translator.or(o1, o2, o3));
}