Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在为我使用模拟服务的组件编写测试。但是这个服务有一个属性,它引用另一个服务并利用服务内部的一些方法。我怎样才能为此创建适当的模拟。