public void PropertySetTests()
        {
            PropertySet propertySet = new PropertySet(new[] { new Property <string>("prop1"), new Property <string>("prop2"), });

            propertySet.Count().Should().Be(2);
            propertySet.Last().Name.Should().Be("prop2");
        }
        private static bool TryGetWrappedValue(PropertySet?propertySet, out object?value)
        {
            if (propertySet?.Count() == 1)
            {
                var p = propertySet.First();
                if (string.IsNullOrEmpty(p.Name) && p.Value != null)
                {
                    value = p.Value;
                    return(true);
                }
            }

            value = null;
            return(false);
        }