public void Setup() { provider = new EmbeddedBirdBrainMembershipProvider(); var section = (MembershipSection)ConfigurationManager.GetSection("system.web/membership"); var config = section.Providers["BirdBrainMembership"].Parameters; provider.Initialize("MyApp", config); }