public void GetOrAddTest_AddFactoryWithArgument(string name, object value)
        {
            var flag = false;
            var set  = new DistributedPropertySet();

            set.MapChanged += (sender, args) =>
            {
                if (args.DistributedCollectionChange == DistributedCollectionChange.ItemInserted)
                {
                    flag = true;
                }
            };

            Assert.Equal(value, set.GetOrAdd(name, (n, arg) => arg, value));
            Assert.Equal(value, set.TryGetValue(name, out var outValue) ? outValue : null);
            Assert.True(flag);
        }
        public void NameNotFoundTryGetTest()
        {
            var set = new DistributedPropertySet();

            Assert.False(set.TryGetValue("string", out _));
        }