DIYDI代码的可测试性 影响单元测试的不可测试代码及其解决办法The“dependencyinjection”(DI)techniqueisawaytoimprovetestabilityandmaintainabilityofobject-orientedcode.Typicallyadoptionofdependenc