public async Task FlushAsync_CallsUnderlyingFlushAsync() { var indicator = new IndicatingTextWriter(); var itw = new IndentedTextWriter(indicator); await itw.FlushAsync(); Assert.Equal(nameof(IndentedTextWriter.FlushAsync), indicator.LastCalledMethod); }