Req also has test stubs - Req.Test ā req v0.4.14
But i am not sure what it is exactly that you are trying to test.
Do you want to test the PaymentServer.Exchange.RatesMonitor
GenServer?
Or some other parts of your app that depend on this GenServer?