f02d255 changed that implementation to use `stub_by` instead of `stub_by_id_and_currency` which raise deprecation warnings