public async Task DisposingOwnedAsynchronously_CallsDisposeOnLifetimeTokenIfAsyncDisposableNotDeclared() { var lifetime = new DisposeTracker(); var owned = new Owned <string>("unused", lifetime); await owned.DisposeAsync(); Assert.True(lifetime.IsDisposed); }