SenseNet.ContentRepository.Tests.FieldTest.FieldOnHandler_ShortText C# (CSharp) Метод

FieldOnHandler_ShortText() приватный Метод

private FieldOnHandler_ShortText ( ) : void
Результат void
        public void FieldOnHandler_ShortText()
        {
            ContentAccessor contentAcc = ShortTextTest("FieldOnHandlerTest");
            Content content = contentAcc.TargetContent;

            string fieldName = "ShortText";
            string testValue = "ChangedOnHandler";

            ((FieldTestHandler)content.ContentHandler).ShortText = testValue;
            Assert.IsTrue((string)content.Fields[fieldName].OriginalValue == testValue, "#14");
        }
        [TestMethod]
FieldTest