Aug 25, 2017 · 1 min read
I’m curious how you unit test the constructs that use only class methods, for example RoleFinder. Since that calls an underlying Role model, it seems that you’d have to mock it out in order to unit test those methods. Do you do that, or do you just go straight to integration testing for something like that?
