public void Initialize()
        {
            var resolver = Substitute.For <IServiceLocator>();

            resolver.GetInstance <DummyContext>().Returns(new DummyContext());
            _manager = new DummyScopeManager(resolver);
        }
Exemplo n.º 2
0
        public UnitOfWorkScopeManagerUnitTests()
        {
            var resolver = Substitute.For <IServiceLocator>();

            resolver.GetInstance <DummyContext>().Returns(new DummyContext());
            _manager = new DummyScopeManager(resolver);
        }