Пример #1
0
        public void SerializeSingleObjectSuccess()
        {
            var userJsonString = User.ToJsonString();

            Assert.True(userJsonString.Trim().Equals(UserJsonString.Trim()));
        }
Пример #2
0
        public async Task SerializeSingleObjectAsyncSuccess()
        {
            var userJsonString = await User.ToJsonStringAsync();

            Assert.True(userJsonString.Trim().Equals(UserJsonString.Trim()));
        }