4 ms·
I don't disagree with your explanation. But the core point of objects is to bind a state and some method implementations. Mocking the state sounds mandatory t
by lolive 9y ago
I don't disagree with your explanation. But the core point of objects is to bind a state and some method implementations.
Mocking the state sounds mandatory to test the method implementations in such a paradigm.
What you propose seems more like functional programming oriented testing.