public Dispose ( bool disposing ) : void | ||
disposing | bool | |
리턴 | void |
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()); }