Calculator { public Calculator add(double value) { state += value; return this; }  Calculator add(double value); Calculator subtract(double value); Calculator multiply(double value); Calculator divide(double value); Calculator divideWithException(double value); void resetCalc(); double value();  }
@Test(groups = { "disabled" }) public void testAdd() { calculator.add(5); assertThat(calculator.value(), equalTo(5.0)); }