Observed in [test run](https://dev.azure.com/dnceng/internal/_build/results?buildId=2889106&view=ms.vss-test-web.build-test-results-tab&runId=56280549&resultId=100066&paneView=debug): Test failed: `Microsoft.Diagnostics.Tools.Trace.CollectCommandFunctionalTests.CollectCommandProviderConfigurationConsolidation` with empty collect args: ``` Assert.Equal() Failure: Values differ Expected: 0 Actual: 2 ``` at https://github.com/dotnet/diagnostics/blob/main/src/tests/dotnet-trace/CollectCommandFunctionalTests.cs#L56. Unclear what caused it since the MockConsole swallowed all output. An option to improve this would be to inject `ITestOutputHelper` into the constructor of the class and have the mock console multiplex the output.
Observed in test run:
Test failed:
Microsoft.Diagnostics.Tools.Trace.CollectCommandFunctionalTests.CollectCommandProviderConfigurationConsolidationwith empty collect args:at https://github.com/dotnet/diagnostics/blob/main/src/tests/dotnet-trace/CollectCommandFunctionalTests.cs#L56. Unclear what caused it since the MockConsole swallowed all output. An option to improve this would be to inject
ITestOutputHelperinto the constructor of the class and have the mock console multiplex the output.