using System; using System.Collections.Generic; using Microsoft.DotNet.Cli.Utils; namespace Microsoft.DotNet.Tools.Test.Utilities { public class BufferedReporter : IReporter { public List Lines { get; private set; } = new List(); public void WriteLine(string message) { Lines.Add(message); } public void WriteLine() { Lines.Add(""); } public void Write(string message) { throw new NotImplementedException(); } } }