コード例 #1
0
        public void MethodsWithDisabledParametersShouldBeDisabled()
        {
            var attribute = new DocumentDBAttribute()
            {
                ConnectionStringSetting = "value"
            };

            var jObject = attribute.ToJObject();

            jObject.Should().HaveElement("connection");
            jObject["connection"].Should().Be("value");
        }