public void SerializeSingleObjectSuccess() { var userJsonString = User.ToJsonString(); Assert.True(userJsonString.Trim().Equals(UserJsonString.Trim())); }
public async Task SerializeSingleObjectAsyncSuccess() { var userJsonString = await User.ToJsonStringAsync(); Assert.True(userJsonString.Trim().Equals(UserJsonString.Trim())); }