public void Setup()
 {
     _page         = new OmnitureCustomerSetup();
     _pagePrivate  = new PrivateObject(_page);
     _shimsContext = ShimsContext.Create();
     InitializeFields();
     CommonShims();
 }
Beispiel #2
0
 protected override void SetPageSessionContext()
 {
     base.SetPageSessionContext();
     _omnitureCustomerSetup = new OmnitureCustomerSetup();
     InitializeAllControls(_omnitureCustomerSetup);
     _privateObject = new PrivateObject(_omnitureCustomerSetup);
     ShimPage.AllInstances.IsPostBackGet = (x) => { return(false); };
     CreateCustomerSettingXml();
     CreatePageShimObject();
 }