public void ThrowIfDisposedTest() { using var d = new DObject(); d.Foo(); d.Dispose(); d.Foo(); }
public void LoggableDisposableObject_TestLog() { using var dobject = new DObject(NullLogger.Instance); dobject.Foo(); }