Github user nickwallen commented on the issue:
Yes, I would argue that integration tests are no replacement for unit
tests. Unless there is some reason we cannot unit test this thing more
directly. And, if that is the case, then I'd argue we need to refactor.
Think of the dread you get when an integration test fails. 'Oh crap, now
what happened?' And you get that feeling because it is very difficult to
pinpoint root cause when an integration test fails. We really should focus on
more direct, targeted testing, unless there is some technical hurdle here.