Spy on existing classes
Spies get their name because you can spy on the code you’re testing and see what methods it called. Spies let you verify that a method is called, just like a mock.
Spies get their name because you can spy on the code you’re testing and see what methods it called. Spies let you verify that a method is called, just like a mock.
本文档使用 全库网 构建