class HqlQueryTranslator extends
        AbstractHibernateQueryTranslator<String, String, String> implements
        QueryTranslator<String, String, String> {

    @Override
    public String notNull(String fieldName) {
        return join(fieldName, HibernateOperator.NOT_NULL);
    }

}

class HqlQueryTranslatorTest {

    private final HibernatePropertyResolver resolver;
    private final BoxMaker boxMaker;
    private final ContainsExpressionHandler<String> containsExpressionHandler;
    private final HqlQueryTranslator translator;
    private final String property;
    private final String value;
    private final Integer from;
    private final Integer to;
    private final String[] values;
    private final Box<Integer> box;

    @Test
    public void notNull() {

        assertEquals(join(property, HibernateOperator.NOT_NULL), translator.notNull(property));
    }

}