function it_formats_money_using_given_currency_and_locale(MoneyFormatterInterface $moneyFormatter) { $moneyFormatter->format(2500, 'EUR', 'fr_FR')->willReturn('€25.00'); $this->formatAmount(2500, 'EUR', 'fr_FR')->shouldReturn('€25.00'); }