### Question:
RealValue extends Value { @Override String getType () { return "real number"; } RealValue(double value);   RealValue(String value); @Override String toString();  }### Answer:
@Test public void testGetType () { assertEquals ("real number", mPositiveValue.getType ()); }