@Test public void testGetAfterTaxedPrice() throws Exception { double afterTaxedPrice = item.getAfterTaxedPrice(); assertEquals(10.50, afterTaxedPrice); }
@Test public void testCalculate() throws Exception { double tax = item.getTax(); assertEquals(0.50, tax); }