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