Hacker News new | ask | show | jobs
by tuxie_ 1810 days ago
Yes, you just don't unit test it, because if you mock out the only dependency it has you are left with nothing. So you are not unit testing anything anyway. You know what I mean? That code can (and should) be tested, through an integration test.