### Question:
DateValue extends Value { @Override Value equal (Value v) { return new BooleanValue (mDate.equals (v.toDateValue ().mDate)); } DateValue(Calendar date);   DateValue(String stringValue); @Override String toString();  }### Answer:
@Test public void testEqual () { assertEquals ("true", mDate.equal (mDate).toString ()); assertEquals ("false", mDate.equal (mOtherDate).toString ()); }