Use mocking instead