public override void SetUp() { base.SetUp(); MembersMembershipProvider = new MembersMembershipProvider(MemberService, MemberTypeService); MembersMembershipProvider.Initialize("test", new NameValueCollection { { "passwordFormat", MembershipPasswordFormat.Clear.ToString() } }); DistributedCacheBinder = new DistributedCacheBinder(new DistributedCache(), Mock.Of <IUmbracoContextFactory>(), Logger); DistributedCacheBinder.BindEvents(true); }
public void Initialize() { _binder.BindEvents(); }