fflib-apex-common
Support multiple mock responses via different fflib stubproviders
Did you ever face the challenge of requiring to stub one method of the same class-type with different response in Apex? In this article I'd like to highlight the (simple) possibility within the fflib framework.
Extensive test/mocking example guide in fflib
Providing example snippets on how to test and mock fflib