### Question:
IntegerValue extends Value { @Override Value unequal (Value v) { return new BooleanValue (intValue () != v.toIntegerValue ().intValue ()); } IntegerValue(int value);   IntegerValue(String value); @Override String toString();  }### Answer:
@Test public void testUnequal () { assertEquals ("false", mPositiveValue.unequal (new IntegerValue (123)).toString ()); assertEquals ("false", mZeroValue.unequal (new IntegerValue (0)).toString ()); assertEquals ("false", mNegativeValue.unequal (new IntegerValue (-123)).toString ()); assertEquals ("true", mPositiveValue.unequal (new IntegerValue (0)).toString ()); assertEquals ("true", mZeroValue.unequal (new IntegerValue (1)).toString ()); assertEquals ("true", mNegativeValue.unequal (new IntegerValue (0)).toString ()); }