public void Response200Identity() { var user = DefaultConfig.FirstUser; var identity = new IdentityMessage { IdentityAlias = "SSN", IdentityValue = "543212222" }; var response = api.AddIdentity(user.UserHandle, user.PrivateKey, identity); Assert.AreEqual(200, response.StatusCode); var parsedResponse = (IdentityResponse)response.Data; Assert.IsTrue(parsedResponse.Success); Assert.AreEqual("SUCCESS", parsedResponse.Status); Assert.IsNotNull(parsedResponse.Identity); Assert.IsNotNull(parsedResponse.Identity.AddedEpoch); Assert.IsNotNull(parsedResponse.Identity.ModifiedEpoch); Assert.IsNotNull(parsedResponse.Identity.Uuid); Assert.AreEqual(identity.IdentityAlias, parsedResponse.Identity.IdentityType); Assert.IsNotNull(parsedResponse.Identity.Identity); DefaultConfig.IdentityUuid = parsedResponse.Identity.Uuid; }