3 ms·Ask HN: When do you decide to choose encapsulation over Dependency injection?1 points by vuyani 11y agoAnd if or when you choose encapsulation, how do you go about testing that method?