NativeColumnNotEqExp implements NativeExp { @Override public String toSQL() { return right + " != " + left; } NativeColumnNotEqExp(String right, String left); @Override String toSQL(); @Override void setValues(NativeQuery query);  }
@Test public void testToSQL() { NativeColumnNotEqExp nativeColumnNotEqExp = new NativeColumnNotEqExp("col1", "col2"); Assert.assertEquals("col1 != col2", nativeColumnNotEqExp.toSQL()); }