@Test public void shouldReturnGetRoundingOperator() { MonetaryOperator roundingOperator = factory.getRoundingOperator(); assertEquals(identical, roundingOperator); }
@Override public MonetaryOperator getRoundingOperator() { return roundingOperator; }
DefaultMonetaryRoundedFactory implements MonetaryRoundedFactory { @Override public MonetaryOperator getRoundingOperator() { return roundingOperator; } }
DefaultMonetaryRoundedFactory implements MonetaryRoundedFactory { @Override public MonetaryOperator getRoundingOperator() { return roundingOperator; } DefaultMonetaryRoundedFactory(MonetaryOperator roundingOperator); }
DefaultMonetaryRoundedFactory implements MonetaryRoundedFactory { @Override public MonetaryOperator getRoundingOperator() { return roundingOperator; } DefaultMonetaryRoundedFactory(MonetaryOperator roundingOperator); @Override MonetaryAmount create(Number number, CurrencyUnit currencyUnit); @Override MonetaryOperator getRoundingOperator(); @Override String toString(); }
DefaultMonetaryRoundedFactory implements MonetaryRoundedFactory { @Override public MonetaryOperator getRoundingOperator() { return roundingOperator; } DefaultMonetaryRoundedFactory(MonetaryOperator roundingOperator); @Override MonetaryAmount create(Number number, CurrencyUnit currencyUnit); @Override MonetaryOperator getRoundingOperator(); @Override String toString();  }