public void ToolStripContainerAccessibleObject_GetPropertyValue_HasKeyboardFocus_ReturnsFalse_IfControlHasNoFocus()
        {
            using var control = new ToolStripContainer();

            var  accessibleObject = new ToolStripContainer.ToolStripContainerAccessibleObject(control);
            bool value            = (bool)accessibleObject.GetPropertyValue(UIA.HasKeyboardFocusPropertyId);

            Assert.False(value);
            Assert.False(control.IsHandleCreated);
        }
        public void ToolStripContainerAccessibleObject_GetPropertyValue_Invoke_ReturnsExpected(int propertyID, object expected)
        {
            using var control = new ToolStripContainer
                  {
                      Name           = "ToolStripContainer1",
                      AccessibleName = "TestName"
                  };

            var    accessibleObject = new ToolStripContainer.ToolStripContainerAccessibleObject(control);
            object value            = accessibleObject.GetPropertyValue((UIA)propertyID);

            Assert.Equal(expected, value);
            Assert.False(control.IsHandleCreated);
        }