public static class One_Dollar_Converted_Into_Dollars {
@Test
public void shouldBeOneDollar() throws Exception {
CurrencyExchangeRateMap exchangeRates = new CurrencyExchangeRateMap();
Money oneDollar = new Money(decimal("1.00"), USD);
assertEquals(oneDollar, oneDollar.convert(exchangeRates, USD, now()));
}
}
public static class One_Dollar_Converted_Into_Euros {
@Test