### Question:
BooleanValue extends Value { @Override Value unequal (Value v) { return mValue != v.toBooleanValue ().mValue ? cTrueStringValue : cFalseStringValue; } BooleanValue(boolean value);   BooleanValue(String text); @Override String toString();  }### Answer:
@Test public void testUnequal () { assertEquals ("false", mTrueValue.unequal (mTrueValue).toString ()); assertEquals ("true", mTrueValue.unequal (mFalseValue).toString ()); assertEquals ("true", mFalseValue.unequal (mTrueValue).toString ()); assertEquals ("false", mFalseValue.unequal (mFalseValue).toString ()); }