public void FontNameEditor_Getters() { Assert.Equal(UITypeEditorEditStyle.None, _fontNameEditor.GetEditStyle(_typeDescriptorContext)); Assert.True(_fontNameEditor.GetPaintValueSupported(_typeDescriptorContext)); }
public void FontNameEditor_GetEditStyle_Invoke_ReturnsNone(ITypeDescriptorContext context) { var editor = new FontNameEditor(); Assert.Equal(UITypeEditorEditStyle.None, editor.GetEditStyle(context)); }