@Test public void whenDivisionFirstOnSecondThenResultTwo() { Calculator calc = new Calculator(); calc.div(6d, 3d); assertThat(calc.result, is(2d)); }
public void div (double first, double second) { this.result = first/second; }
Calculator { public void div (double first, double second) { this.result = first/second; } }
Calculator { public void div (double first, double second) { this.result = first/second; }  }
Calculator { public void div (double first, double second) { this.result = first/second; }  void add(double first, double second); void substtruct(double first, double second); void div(double first, double second); void multiple(double first, double second); }
Calculator { public void div (double first, double second) { this.result = first/second; }  void add(double first, double second); void substtruct(double first, double second); void div(double first, double second); void multiple(double first, double second); public double result; }