Ejemplo n.º 1
0
        public void SceneInfoToStringTest()
        {
            SceneInfo sceneInfo = new SceneInfo()
            {
                id        = "1",
                address   = "1",
                area_code = "1",
                name      = "1"
            };

            string assert = "{\"id\":\"1\",\"name\":\"1\",\"area_code\":\"1\",\"address\":\"1\"}";

            Assert.AreEqual(assert, sceneInfo.ToString());
        }