Mocking and stubbing work a bit differently, this allows the test to run