public void DeserializeFromJson_SimpleObject_ShouldWork() { var json = new JsDictionary<string, object>(); json["Id"] = 1; json["Email"] = "*****@*****.**"; json["FirstName"] = "John"; json["LastName"] = "Doe"; var user = new UserViewModel(); user.SetFromJSON(json, null); Assert.AreEqual(user.Id, json["Id"]); Assert.AreEqual(user.Email, json["Email"]); Assert.AreEqual(user.FirstName, json["FirstName"]); Assert.AreEqual(user.LastName, json["LastName"]); }