public void Initialize() { var resolver = Substitute.For <IServiceLocator>(); resolver.GetInstance <DummyContext>().Returns(new DummyContext()); _manager = new DummyScopeManager(resolver); }
public UnitOfWorkScopeManagerUnitTests() { var resolver = Substitute.For <IServiceLocator>(); resolver.GetInstance <DummyContext>().Returns(new DummyContext()); _manager = new DummyScopeManager(resolver); }