Revised mocking strategy.