### Question:
BasicContinuousMeasurement extends BasicMeasurement implements ContinuousMeasurement { @Override public String toString() { DecimalFormat df = new DecimalFormat("##0.0##"); return conditionalFormat(df, d_mean) + " \u00B1 " + conditionalFormat(df, d_stdDev) + " (" + (d_sampleSize == null ? "N/A" : d_sampleSize) + ")"; } BasicContinuousMeasurement();  BasicContinuousMeasurement(Double mean, Double stdDev, Integer size); Double getMean(); void setMean(Double mean); Double getStdDev(); void setStdDev(Double stdDev); @Override String toString(); String conditionalFormat(DecimalFormat df, Double mean); boolean isOfType(VariableType type); @Override boolean equals(Object o); @Override int hashCode(); @Override BasicMeasurement clone(); @Override boolean isComplete();  }### Answer:
@Test public void testToString() { BasicContinuousMeasurement m = d_basicContinuousMeasurement; assertEquals("0.0 \u00B1 0.1 (1)", m.toString()); BasicContinuousMeasurement m2 = new BasicContinuousMeasurement(null, null, 5); assertEquals("N/A \u00B1 N/A (5)", m2.toString()); }