Пример #1
0
    public async Task InnerStreamIsNotFlushedOnFlushAsync()
    {
        // Arrange
        var stream = FlushReportingStream.GetThrowingStream();

        var nonDisposableStream = new NonDisposableStream(stream);

        // Act & Assert
        await nonDisposableStream.FlushAsync();
    }