@Test public void testSum() { Calculator calculator = new Calculator(); assertEquals(10, calculator.sum(5, 5), -1); }
@WebMethod public float sum(float a, float b) { return a + b; }
Calculator { @WebMethod public float sum(float a, float b) { return a + b; } }
Calculator { @WebMethod public float sum(float a, float b) { return a + b; }  }
Calculator { @WebMethod public float sum(float a, float b) { return a + b; }  @WebMethod float sum(float a, float b); @WebMethod float div(float a, float b); @WebMethod float mul(float a, float b); @WebMethod float sub(float a, float b); }
Calculator { @WebMethod public float sum(float a, float b) { return a + b; }  @WebMethod float sum(float a, float b); @WebMethod float div(float a, float b); @WebMethod float mul(float a, float b); @WebMethod float sub(float a, float b);  }