public void FileNameEditor_GetEditStyle_Invoke_ReturnsModal(ITypeDescriptorContext context) { var editor = new FileNameEditor(); Assert.Equal(UITypeEditorEditStyle.Modal, editor.GetEditStyle(context)); }
public void GetEditStyle_Invoke_ReturnsModal() { var editor = new FileNameEditor(); Assert.Equal(UITypeEditorEditStyle.Modal, editor.GetEditStyle(null)); }