public void DisposeAsyncMustDisposeAsyncEnumeratorWhenCalled() { AsyncEnumerator <int> enumerator = new AsyncEnumerator <int>(new List <int> { 42 }.GetEnumerator()); Assert.True(enumerator.DisposeAsync().IsCompletedSuccessfully); }