public void CreateFromFactory() { IProfileProvider dbProfile = ProfileFactory.GetProfileProvider("MyDbProfile1"); dbProfile.SetProfile(this.ident, "test123"); string result = dbProfile.GetProfile(this.ident).ToString(); Assert.AreEqual("test123", result); }
public void Setup() { this.ident = new GenericIdentity("testuser"); this.profile = ProfileFactory.GetProfileProvider("MyDbProfile1") as DbProfileProvider; this.veryLongString = "testing123".PadLeft(10000, 'X'); }