### Question:
Variable { public String toString() { return value != null ? value.toString() : ""; } Variable(Object theValue); Object asObject(); Boolean asBoolean(); boolean asBool(); double asDouble(); int asInt(); BigDecimal asNumber(); String asString(); Timestamp asTimestamp(); String toString();  }### Answer:
@Test public void testToString() { Variable variable = new Variable(new BigDecimal("123.0")); assertEquals("wrong value", "123.0", variable.toString()); }