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