public void DisposeDisposesTheReferencedScope() { var scopeMock = new Mock <IDisposable>(); var testee = new NamedScopeReference(scopeMock.Object); testee.Dispose(); scopeMock.Verify(scope => scope.Dispose()); }
public void DisposeDisposesTheReferencedScope() { var scopeMock = new Mock<IDisposable>(); var testee = new NamedScopeReference(scopeMock.Object); testee.Dispose(); scopeMock.Verify(scope => scope.Dispose()); }