assertThat(taggedAmount.isSplit(), is(true));
}
@Test
public void itIsConvertableToOtherCurrencies() throws Exception {
CurrencyExchangeRateMap exchangeRates = new CurrencyExchangeRateMap();
exchangeRates.addExchangeRate(USD, EUR, jun14th, decimal("0.69"));
exchangeRates.addExchangeRate(USD, EUR, jun15th, decimal("1.50"));
exchangeRates.addExchangeRate(USD, EUR, jun16th, decimal("0.90"));
assertEquals(money("60.00", EUR), taggedAmount.getConvertedAmount(EUR, exchangeRates));
}