public void DataGridViewCheckBoxCellAccessibleObject_IsTogglePatternAvailablePropertyId_ReturnsExpected() { var accessibleObject = new DataGridViewCheckBoxCellAccessibleObject(null); Assert.True((bool)accessibleObject.GetPropertyValue(UiaCore.UIA.IsTogglePatternAvailablePropertyId)); }
public void DataGridViewCheckBoxCellAccessibleObject_ControlType_ReturnsExpected() { var accessibleObject = new DataGridViewCheckBoxCellAccessibleObject(null); Assert.Equal(UiaCore.UIA.CheckBoxControlTypeId, accessibleObject.GetPropertyValue(UiaCore.UIA.ControlTypePropertyId)); }