TestCase::getMockDispatcher

Gets a mock dispatcher object.