diff --git a/EasyMock/src/com/nirman/easymock/Retailer.java b/EasyMock/src/com/nirman/easymock/Retailer.java index ef001ef..cbec343 100644 --- a/EasyMock/src/com/nirman/easymock/Retailer.java +++ b/EasyMock/src/com/nirman/easymock/Retailer.java @@ -18,6 +18,8 @@ public int getPriceForProduct(String productId) throws Exception { return price; } + // this is a change for all devs + private int getPrice(int basePrice) { int finalPrice = basePrice + ((basePrice * getTaxRate()) / 100); return finalPrice; @@ -26,4 +28,8 @@ private int getPrice(int basePrice) { public int getTaxRate() { return taxes_in_percent; } + + public String myTaxRate() { + return "50%"; + } } diff --git a/JavaPowershell/.gitignore b/JavaPowershell/.gitignore new file mode 100644 index 0000000..ae3c172 --- /dev/null +++ b/JavaPowershell/.gitignore @@ -0,0 +1 @@ +/bin/