### Question:
BooleanValue extends Value { BooleanValue (boolean value) { mValue = value; } BooleanValue(boolean value);   BooleanValue(String text); @Override String toString();  }### Answer:
@Test public void testBooleanValue () { new BooleanValue (true); new BooleanValue (false); new BooleanValue ("true"); new BooleanValue ("false"); try { new BooleanValue ("something else"); fail ("no exception"); } catch (ExecutionException ee) { } }