I want to test a method to check that it saves a transaction correctly. Inside it calls Membership.GetUser() to verify the user which causes the test to fail each time. Is
In short, you can't. That's why every call to such a "service" should be hidden behind an abstraction.
You can see a sample of that in default MVC template.