ConversionInformation { public static ConversionInformation defaultConversionInformation(CurrencyKey currencyKey) { return new ConversionInformation(currencyKey, DEFAULT_RATE); } ConversionInformation(CurrencyKey foreignCurrencyKey, BigDecimal rate); static ConversionInformation defaultConversionInformation(CurrencyKey currencyKey); boolean isValid(CurrencyKey nobtCurrency); CurrencyKey getForeignCurrencyKey(); BigDecimal getRate();  }
@Test public void defaultRateShouldBeOne() throws Exception { assertThat(defaultConversionInformation(EUR), hasRate(equalTo(BigDecimal.ONE))); }