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