public static ProfileView RegisterProfile(this TestClient client) { var pv = client.CreateProfile(); client.Profile.VerificationCode = pv.VerificationCode; client.ResetPassword(); return(pv); }