public void SetUp()
        {
            ServiceLocatorInitializer.Init();

            _timeEntryRepository =
                MockRepository.GenerateMock<ITimeEntryRepository>();
            _timeEntryRepository.Stub(r => r.DbContext)
                .Return(MockRepository.GenerateMock<IDbContext>());

            _wrmsSystemRepository =
                MockRepository.GenerateMock<IWrmsSystemRepository>();
            _wrmsSystemRepository.Stub(r => r.DbContext)
                .Return(MockRepository.GenerateMock<IDbContext>());

            _requestRepository =
                MockRepository.GenerateMock<IRequestRepository>();
            _requestRepository.Stub(r => r.DbContext)
                .Return(MockRepository.GenerateMock<IDbContext>());
            _personManagementService = MockRepository.GenerateMock<IPersonManagementService>();

            _timeEntryManagementService = new TimeEntryManagementService(_timeEntryRepository, _requestRepository,
                                                                         _wrmsSystemRepository, _personManagementService);
        }
        public void SetUp()
        {
            ServiceLocatorInitializer.Init();

            _requestRepository =
                MockRepository.GenerateMock<IRequestRepository>();
            _requestRepository.Stub(r => r.DbContext)
                .Return(MockRepository.GenerateMock<IDbContext>());

            _orgManagementService =
                MockRepository.GenerateMock<IOrgManagementService>();
            _personManagementService =
                MockRepository.GenerateMock<IPersonManagementService>();
            _requestTypeManagementService =
                MockRepository.GenerateMock<IRequestTypeManagementService>();
            _requestStatusManagementService =
                MockRepository.GenerateMock<IRequestStatusManagementService>();

            _wrmsSystemManagementService =
                MockRepository.GenerateMock<IWrmsSystemManagementService>();

            _agencyManagementService =
                MockRepository.GenerateMock<IAgencyManagementService>();

            _timeEntryManagementService = MockRepository.GenerateMock<ITimeEntryManagementService>();

            _requestEstimateManagementService = MockRepository.GenerateMock<IRequestEstimateManagementService>();

            _requestManagementService =
                new RequestManagementService(_requestRepository, _orgManagementService, _personManagementService,
                                             _requestTypeManagementService, _requestStatusManagementService,
                                             _wrmsSystemManagementService, _agencyManagementService,
                                             _requestEstimateManagementService, _timeEntryManagementService);
        }