public void SetUp()
 {
     _repo     = MockRepository.GenerateMock <IInventoryRepository>();
     _settings = MockRepository.GenerateStub <ISettings>();
     _identity = MockRepository.GenerateStub <IIdentity>();
     DomainModelMapper.Initialize();
 }
 protected void Application_Start(object sender, EventArgs e)
 {
     ObjectFactory.Initialize(x => x.AddRegistry <IoCRegistry>());
     DomainModelMapper.Initialize();
     _log = ObjectFactory.GetInstance <ILogger>();
 }