private static ProjectOutputWindowProjectLogger CreateLogger(IVsOutputWindowPane pane, bool enabled) { var options = IProjectSystemOptionsFactory.ImplementIsProjectOutputPaneEnabled(() => enabled); var outputWindowProvider = IProjectOutputWindowPaneProviderFactory.ImplementGetOutputWindowPaneAsync(pane); var logger = CreateInstance(options: options, outputWindowProvider: outputWindowProvider); return(CreateInstance(options: options, outputWindowProvider: outputWindowProvider)); }
public void IsEnabled_ReturnsReturnOfIsProjectOutputPaneEnabled(bool isProjectOutputPaneEnabled) { var options = IProjectSystemOptionsFactory.ImplementIsProjectOutputPaneEnabled(() => isProjectOutputPaneEnabled); var logger = CreateInstance(options: options); Assert.Equal(isProjectOutputPaneEnabled, logger.IsEnabled); }