@Test public void testRoundWithDefaultRounding() throws Exception{ for(Money m : moneys){ assertEquals(m.with(Monetary.getDefaultRounding()), rnd.roundWithDefaultRounding(m)); } }
public MonetaryAmount roundWithDefaultRounding(MonetaryAmount amount){ throw new UnsupportedOperationException(); }
Rounding { public MonetaryAmount roundWithDefaultRounding(MonetaryAmount amount){ throw new UnsupportedOperationException(); } }
Rounding { public MonetaryAmount roundWithDefaultRounding(MonetaryAmount amount){ throw new UnsupportedOperationException(); }  }
Rounding { public MonetaryAmount roundWithDefaultRounding(MonetaryAmount amount){ throw new UnsupportedOperationException(); }  MonetaryAmount roundWithDefaultRounding(MonetaryAmount amount); MonetaryAmount roundForCash(MonetaryAmount amount); MonetaryAmount roundMathematical(MonetaryAmount amount); Collection<String> getKnownRoundings(); String getCustomRoundingName(); }
Rounding { public MonetaryAmount roundWithDefaultRounding(MonetaryAmount amount){ throw new UnsupportedOperationException(); }  MonetaryAmount roundWithDefaultRounding(MonetaryAmount amount); MonetaryAmount roundForCash(MonetaryAmount amount); MonetaryAmount roundMathematical(MonetaryAmount amount); Collection<String> getKnownRoundings(); String getCustomRoundingName();  }