@@ -0,0 +1,752 @@
+package nz.co.gregs.dbvolution.datatypes;%0D%0A%0D%0Aimport static org.hamcrest.Matchers.*;%0D%0Aimport static org.junit.Assert.*;%0D%0A%0D%0Aimport org.junit.Ignore;%0D%0Aimport org.junit.Test;%0D%0A%0D%0Apublic class DBIntegerTest %7B%0D%0A%09@Ignore(%22DBOperator and QueryableDatatype overload instead of override Object.equals()%22)%0D%0A%09@Test%0D%0A%09public void equalGivenSameLiteralValue() %7B%0D%0A%09%09DBInteger int1 = new DBInteger();%0D%0A%09%09DBInteger int2 = new DBInteger();%0D%0A%09%09int1.setValue(100);%0D%0A%09%09int2.setValue(100);%0D%0A%09%09assertThat(int1.equals(int2), is(true));%0D%0A%09%7D%0D%0A%0D%0A%09@Test%0D%0A%09public void notEqualGivenDifferentLiteralValues() %7B%0D%0A%09%09DBInteger int1 = new DBInteger();%0D%0A%09%09DBInteger int2 = new DBInteger();%0D%0A%09%09int1.setValue(100);%0D%0A%09%09int2.setValue(101);%0D%0A%09%09assertThat(int1.equals(int2), is(false));%0D%0A%09%7D%0D%0A%7D%0D%0A

Test case illustrating https://sourceforge.net/p/dbvolution/tickets/47.