public void DataGridViewRowAccessibleObject_GetFocused_NoDataGridView_ReturnsNull()
        {
            using var owner = new DataGridViewRow();
            var accessibleObject = new DataGridViewRowAccessibleObject(owner);

            Assert.Null(accessibleObject.GetFocused());
        }
        public void DataGridViewRowAccessibleObject_GetFocused_NoDataGridView_ThrowsNullReferenceException()
        {
            var owner            = new DataGridViewRow();
            var accessibleObject = new DataGridViewRowAccessibleObject(owner);

            Assert.Throws <NullReferenceException>(() => accessibleObject.GetFocused());
        }