示例#1
0
        public void ActionSerializes()
        {
            TestAction act  = DataTest.SampleAction;
            string     json = act.ToJson();

            Assert.IsNotNullOrEmpty(json);
            Assert.Greater(json.IndexOf(act.TestValue), 0);
        }