Testing "seam" in Elixir

Both of those methods requires changes in production code. Especially Mox - in terms of pros & cons it’s a totally different technic.