Kotlin Code Smell 21 - Mocking Business
Problem
Complexity
False sense of security.
Parallel/Paired objects (real and mocks) can lead to maintainability issues.
Maintainability
Solution
Mock just non-business entities.
Remove the mock if its interface has too much behavior.
Sampl...
yonatankarp.com2 min read