Comment
Comment by texel
I don't like this kind of mocking because usually, I don't care what methods are called internally, I care what the outputs and side effects are. There's almost always a better approach than expectations.
Be the first to share your thoughts.