public void GetShouldReturnValue(object value, Type typeOfValue)
        {
            // Use Set() to add value to collection
            sut.Set(TestKey, value);

            var result = sut.Get(TestKey);

            result.Should().NotBeNull();
            result.Should().BeOfType(typeOfValue);
        }
        public LinkDataWriter Write(string key, object value)
        {
            if (string.IsNullOrWhiteSpace(key))
            {
                throw new ArgumentException($"Parameter '{nameof(key)}' must not be null or empty.");
            }

            if (value == null)
            {
                throw new ArgumentNullException(nameof(value));
            }

            context.Set(key, value);

            return(this);
        }