public void SerializeSingleObjectSuccess() { var userJsonString = User.ToJsonString(); Assert.True(userJsonString.Trim().Equals(UserJsonString.Trim())); }
public async Task DeserializeSingleObjectAsyncSuccess() { var user = await UserJsonString.DeserializeJsonStringAsync <User>(); Assert.True(user == User); }
public async Task SerializeSingleObjectAsyncSuccess() { var userJsonString = await User.ToJsonStringAsync(); Assert.True(userJsonString.Trim().Equals(UserJsonString.Trim())); }
public void DeserializeSingleObjectSuccess() { var user = UserJsonString.DeserializeJsonString <User>(); Assert.True(user == User); }