@Test
public void contains_one() {

    SetExpression e = Restrictions.contains(propertyName, value);
    assertEquals(Operator.CONTAINS, e.getOperator());
    assertEquals(propertyName, e.getPropertyName());
    assertEquals(value, e.getValues()[0]);
    assertEquals(1, e.getValues().length);
}