### Question:
ConfidenceInterval extends Interval<Double> { @Override public String toString() { DecimalFormat format = new DecimalFormat("###0.00"); return format.format(getPointEstimate()) + " (" + format.format(getLowerBound()) + ", " + format.format(getUpperBound()) + ")"; } ConfidenceInterval(Double pointEstimate, Double lowerBound, Double upperBound); Double getPointEstimate(); @Override boolean equals(Object o); @Override int hashCode(); @Override String toString();  }### Answer:
@Test public void testToString() { ConfidenceInterval ci1 = new ConfidenceInterval(1.044, 0.0, 2.0); assertEquals("1.04 (0.00, 2.00)", ci1.toString()); }