/**
  * Initiate the controller and page classes and configure GeoNetwork service
  * to use the mockup-controller for testing.
  */
 function setUp()
 {
     parent::setUp();
     $url = Director::absoluteBaseURL() . 'GetRecordByIdCommandTest_Controller';
     $page = $this->objFromFixture('BrowsePage', 'catalogbrowsepage');
     $page->GeonetworkBaseURL = $url;
     $this->controller = new BrowsePage_Controller($page);
     $this->controller->pushCurrent();
     //GetRecordsCommand::set_catalogue_url("/dogetrecordbyid/7f1db956-b017-427c-866d-25c7a8af7384/?usetestmanifest=1&flush=1");
     GetRecordByIdCommand::set_catalogue_url("/getrecords?usetestmanifest=1&flush=1");
 }
 static function set_catalogue_url($value)
 {
     self::$catalogue_url = $value;
 }