public async Task GetOutputWindowPaneAsync_ReturnsResult() { var outputWindow = IVsOutputWindowFactory.Create(); var provider = CreateInstance(outputWindow: outputWindow); var result = await provider.GetOutputWindowPaneAsync(); Assert.NotNull(result); }
public async Task GetOutputWindowPaneAsync_ReturnsCachedResult() { var outputWindow = IVsOutputWindowFactory.Create(); var provider = CreateInstance(outputWindow: outputWindow); var result1 = await provider.GetOutputWindowPaneAsync(); var result2 = await provider.GetOutputWindowPaneAsync(); Assert.Same(result1, result2); }