@Test public void defaultRateShouldBeOne() throws Exception { assertThat(defaultConversionInformation(EUR), hasRate(equalTo(BigDecimal.ONE))); }
public static ConversionInformation defaultConversionInformation(CurrencyKey currencyKey) { return new ConversionInformation(currencyKey, DEFAULT_RATE); }
ConversionInformation { public static ConversionInformation defaultConversionInformation(CurrencyKey currencyKey) { return new ConversionInformation(currencyKey, DEFAULT_RATE); } }
ConversionInformation { public static ConversionInformation defaultConversionInformation(CurrencyKey currencyKey) { return new ConversionInformation(currencyKey, DEFAULT_RATE); } ConversionInformation(CurrencyKey foreignCurrencyKey, BigDecimal rate); }
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(); }
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();  }