@Test public void testBoxedIntegerDiffersRhsNull() throws Exception { Zentity lhs = new Zentity(); Zentity rhs = new Zentity(); lhs.setBoxedInt(4433); rhs.setBoxedInt(null); assertTrue(comparator.isDifferent(lhs, rhs)); }
@Test public void testBoxedIntegerDiffers() throws Exception { Zentity lhs = new Zentity(); Zentity rhs = new Zentity(); lhs.setBoxedInt(1234); rhs.setBoxedInt(4321); assertTrue(comparator.isDifferent(lhs, rhs)); }