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.