Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: