@Test public void passesExchangeRateToStore() { cut.updateExchangeRate(SYMBOL_EURUSD, SOME_PRICE); verify(exchangeRateStore).updateExchangeRate(SYMBOL_EURUSD, SOME_PRICE); }
@Override public void updateExchangeRate(final ForexSymbol currencyExchange, final Price exchangeRate) { exchangeRateStore.updateExchangeRate(currencyExchange, exchangeRate); }
DefaultMoneyManagement implements MoneyManagement { @Override public void updateExchangeRate(final ForexSymbol currencyExchange, final Price exchangeRate) { exchangeRateStore.updateExchangeRate(currencyExchange, exchangeRate); } }
DefaultMoneyManagement implements MoneyManagement { @Override public void updateExchangeRate(final ForexSymbol currencyExchange, final Price exchangeRate) { exchangeRateStore.updateExchangeRate(currencyExchange, exchangeRate); } DefaultMoneyManagement();  DefaultMoneyManagement(final Ratio moneyPerTrade);   DefaultMoneyManagement(final TradeBlocker currencyBlocker, final RiskMoneyProvider moneyProvider,
            final PipetteValueCalculator pipetteValueCalculator, final VolumeCalculator volumeCalculator,
            final VolumeStepSizeRounder volumeRounder, final ExchangeRateStore exchangeRateStore); }
DefaultMoneyManagement implements MoneyManagement { @Override public void updateExchangeRate(final ForexSymbol currencyExchange, final Price exchangeRate) { exchangeRateStore.updateExchangeRate(currencyExchange, exchangeRate); } DefaultMoneyManagement();  DefaultMoneyManagement(final Ratio moneyPerTrade);   DefaultMoneyManagement(final TradeBlocker currencyBlocker, final RiskMoneyProvider moneyProvider,
            final PipetteValueCalculator pipetteValueCalculator, final VolumeCalculator volumeCalculator,
            final VolumeStepSizeRounder volumeRounder, final ExchangeRateStore exchangeRateStore); @Override Optional<UsedVolumeManagement> requestVolume(final ForexSymbol symbol, final Price currentPrice,
            final Price pipLostOnStopLoose, final Volume allowedStepSize); @Override void updateBalance(final Money money); @Override void updateExchangeRate(final ForexSymbol currencyExchange, final Price exchangeRate); }
DefaultMoneyManagement implements MoneyManagement { @Override public void updateExchangeRate(final ForexSymbol currencyExchange, final Price exchangeRate) { exchangeRateStore.updateExchangeRate(currencyExchange, exchangeRate); } DefaultMoneyManagement();  DefaultMoneyManagement(final Ratio moneyPerTrade);   DefaultMoneyManagement(final TradeBlocker currencyBlocker, final RiskMoneyProvider moneyProvider,
            final PipetteValueCalculator pipetteValueCalculator, final VolumeCalculator volumeCalculator,
            final VolumeStepSizeRounder volumeRounder, final ExchangeRateStore exchangeRateStore); @Override Optional<UsedVolumeManagement> requestVolume(final ForexSymbol symbol, final Price currentPrice,
            final Price pipLostOnStopLoose, final Volume allowedStepSize); @Override void updateBalance(final Money money); @Override void updateExchangeRate(final ForexSymbol currencyExchange, final Price exchangeRate);  }