Fixing a failing test (mocking method)