I would like to test that a function being returned from a mocked function is called in a test in jest.
I have the following mock: