@Test
public void isNotNull() {

    UnaryExpression e = Restrictions.isNotNull(propertyName);
    assertEquals(Operator.NOT_NULL, e.getOperator());
    assertEquals(propertyName, e.getPropertyName());
}