Hacker News new | ask | show | jobs
by royjacobs 3385 days ago
I think I would reverse the question. Why does there have to be a UserService interface? If it only exists in order to be mocked in yet another place of the code you've added even more unnecessary layering in your codebase.