public async Task GetSpecificEditorAsync_WhenMarkedWithRecognizedSubType_ReturnsResult(string tree, bool useDesignerByDefault) { var defaultEditorFactory = Guid.NewGuid(); var options = IProjectSystemOptionsFactory.ImplementGetUseDesignerByDefaultAsync((_, defaultValue, __) => defaultValue); var provider = CreateInstanceWithDefaultEditorProvider(tree, options, defaultEditorFactory); var result = await provider.GetSpecificEditorAsync(@"C:\Foo.cs"); Assert.NotEmpty(result.DisplayName); Assert.Equal(VSConstants.LOGVIEWID.Designer_guid, result.DefaultView); Assert.Equal(useDesignerByDefault, result.IsDefaultEditor); Assert.Equal(defaultEditorFactory, result.EditorFactory); }