public void GameObjectJsonSerializationTest() { var id = Guid.NewGuid().ToString(); var expectedJson = string.Format(ExpectedJsonFormat, "{","}", id, Name, Desc); var obj = new GameObject { Id = id, Name = Name, Description = Desc }; var json = obj.ToJson(); TestContext.WriteLine("JSON: {0}", json); Assert.AreEqual(json, expectedJson); }