Init() public static method

Load all XML payloads and create relevant AdWords objects for testing with the payloads.
public static Init ( )
     * payload.
     */
    private static function InitReportDefinitionObject()
    {
        $selector = new Selector();
        $selector->fields = array('CampaignId', 'Id', 'Impressions', 'Clicks', 'Cost');
        $selector->predicates[] = new Predicate('Conversions', 'GREATER_THAN', array(2.0));
        $selector->predicates[] = new Predicate('AllConversions', 'LESS_THAN', array(50.5221));
        $selector->predicates[] = new Predicate('Clicks', 'GREATER_THAN', array(3400));
        $selector->predicates[] = new Predicate('AverageCost', 'LESS_THAN', array(2.05 * AdWordsConstants::MICROS_PER_DOLLAR));
        self::$REPORT_DEFINITION_OBJECT = new ReportDefinition();
        self::$REPORT_DEFINITION_OBJECT->selector = $selector;
        self::$REPORT_DEFINITION_OBJECT->reportName = 'Custom Adgroup Performance Report';
        self::$REPORT_DEFINITION_OBJECT->dateRangeType = 'LAST_7_DAYS';
        self::$REPORT_DEFINITION_OBJECT->reportType = 'ADGROUP_PERFORMANCE_REPORT';
        self::$REPORT_DEFINITION_OBJECT->downloadFormat = 'CSV';
    }
    /**
     * Load XML payload from the specified file.
     * @param string $fileName the name of file to be loaded
     * @return string a trimmed XML string
     */
    private static function LoadXmlPayload($fileName)
    {
        // Use trim to eliminate a new-line character at the end of the file read by
        // file_get_contents.
        return trim(file_get_contents($fileName));
    }
}
XmlTestHelper::Init();