The three most common failures are asserting on implementation details (exact call count) instead of intent, spying on private methods that then change, and forgetting to assert on the ledger so the spy becomes dead weight.
The three most common failures are asserting on implementation details (exact call count) instead of intent, spying on private methods that then change, and forgetting to assert on the ledger so the spy becomes dead weight.