public void AssertPage(PageAssertions pageAss)
        {
            this.UIMap.AssertPageExpectedValues.UIHomePaneControlDefinition = pageAss.homePanel;
            this.UIMap.AssertPageExpectedValues.UIAHomeCustomControlDefinition = pageAss.homeLink;

            this.UIMap.AssertPageExpectedValues.UISearchRidePaneControlDefinition = pageAss.searchRidePanel;
            this.UIMap.AssertPageExpectedValues.UIASearchRideCustom1ControlDefinition = pageAss.searchRideLink;

            this.UIMap.AssertPageExpectedValues.UIPostRequestPaneControlDefinition = pageAss.postRequestPanel;
            this.UIMap.AssertPageExpectedValues.UIAPostRequestCustom1ControlDefinition = pageAss.postRequestLink;

            this.UIMap.AssertPageExpectedValues.UIPublishRidePaneControlDefinition = pageAss.punlishRidePanel;
            this.UIMap.AssertPageExpectedValues.UIAPublishRideCustomControlDefinition = pageAss.publishRideLink;

            this.UIMap.AssertPageExpectedValues.UIMyRidesPaneControlDefinition = pageAss.myRidesPanel;
            this.UIMap.AssertPageExpectedValues.UIAMyRidesCustomControlDefinition = pageAss.myRidesLink;

            this.UIMap.AssertPage();
        }
 private void initPageAssertions()
 {
     this.homePageAsertions = new PageAssertions(Page.home);
     this.searchRidePageAsertions = new PageAssertions(Page.searchRide);
     this.publishRidePageAsertions = new PageAssertions(Page.publishRide);
     this.postRequestPageAsertions = new PageAssertions(Page.postRequest);
     this.myRidesPageAsertions = new PageAssertions(Page.myRides);
 }