Ah excuse me If you've been contributing to phpUnit you won't need me to tell you how mocks are used.