public async Task NotificationWriterDisposeAsyncShouldBeIdempotent()
        {
            var notificationWriter = new ODataNotificationWriter(
                this.writer,
                this.streamListener);

            // 1st call to DisposeAsync
            await notificationWriter.DisposeAsync();

            // 2nd call to DisposeAsync
            await notificationWriter.DisposeAsync();

            var result = await this.ReadStreamContentsAsync();

            // StreamDisposeAsync was written only once
            Assert.Equal("StreamDisposedAsync", result);
        }