示例#1
0
        public void SetRightShouldSetRight()
        {
            const string propertyName  = "dummyProperty";
            const string expectedValue = "dummyValue";
            string       id            = "1";

            _controller.SetRightObject(id, EncodeToBase64($"{{ \"{propertyName}\": \"{expectedValue}\" }}"));

            ValidatePropertyValue(_dataHolder.Get(id).Right, expectedValue, propertyName);
        }