Troubles using Mox library for testing when no Mox expectations are defined

Since nobody seems to be able to step-in I added a

TL;DR

Unrelated tests fail because “no expectation defined” when using Mox library and stub_with/2 doesn’t seem to be of any help

and posted this question on SO: