1. 7

  2. 5

    This is confusing, at least the first example the author is still passing a mock function, just not a mock object.

    1. 2

      What distinguishes “a mock function” from just “a function” when you do this?

      1. 3

        Same thing that distinguishes “a mock object” from just “an object”.

        1. -1

          I don’t know what that is.

          1. 0

            You don’t know what a mock is?