PriceCalculator { public static double calculatePrice(Product product) { return product.getPrice() * product.getSize().getSurchargePercentage(); }  static double calculatePrice(Product product);  }
@Test public void test() { assertEquals(22.55, PriceCalculator.calculatePrice(product1), 0); assertEquals(15.00, PriceCalculator.calculatePrice(product2), 0); }