public void before_each() { logProvider = MockRepository.GenerateStub<ILogProvider>(); logSourceView = MockRepository.GenerateStub<ILogSourceView>(); regionManager = MockRepository.GenerateStub<IRegionManager>(); region = MockRepository.GenerateMock<IRegion>(); regionManager.Stub(x => x.Regions[null]).IgnoreArguments().Return(region); }