@Test public void testInitial() { assertThat(calculator.value(), is(0.0)); }
public double value() { return state; }
Calculator { public double value() { return state; } }
Calculator { public double value() { return state; }  }
Calculator { public double value() { return state; }  Calculator add(double value); Calculator subtract(double value); Calculator multiply(double value); Calculator divide(double value); Calculator divideWithException(double value); void resetCalc(); double value(); }
Calculator { public double value() { return state; }  Calculator add(double value); Calculator subtract(double value); Calculator multiply(double value); Calculator divide(double value); Calculator divideWithException(double value); void resetCalc(); double value();  }