public async Task User_should_be_able_to_change_password() { var createdResult = await UserManagementApi.CreateUser(GetUniqueTestUser); var passwordRequest = new PasswordForgottenRequest { Username = createdResult.Data.First().Username }; var tokenResult = await UserManagementApi.GetPasswordResetToken(passwordRequest); var tokenData = tokenResult.Data.First(); var newPasswordRequest = new PasswordForgottenNewPassword { Username = tokenData.Username, Token = tokenData.Token, Password = "******" }; var changePasswordResult = await UserManagementApi.SetNewPasswordAfterReset(newPasswordRequest); Assert.True(createdResult.Success); Assert.True(tokenResult.Success); Assert.True(changePasswordResult.Success); }