/**
  * Setup test class
  */
 public function setUp()
 {
     parent::setUp();
     foreach (['BBB_SECURITY_SALT', 'BBB_SERVER_BASE_URL'] as $k) {
         if (!isset($_SERVER[$k]) || !isset($_SERVER[$k])) {
             $this->fail('$_SERVER[\'' . $k . '\'] not set in ' . 'phpunit.xml');
         }
     }
     $this->bbb = new BigBlueButton();
 }
 public function setUp()
 {
     parent::setUp();
     $xml = $this->loadXmlFile(__DIR__ . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . 'fixtures' . DIRECTORY_SEPARATOR . 'publish_recordings.xml');
     $this->publish = new PublishRecordingsResponse($xml);
 }
 public function setUp()
 {
     parent::setUp();
     $xml = $this->loadXmlFile(__DIR__ . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . 'fixtures' . DIRECTORY_SEPARATOR . 'get_meeting_info.xml');
     $this->meetingInfo = new \BigBlueButton\Responses\GetMeetingInfoResponse($xml);
 }
 public function setUp()
 {
     parent::setUp();
     $xml = $this->loadXmlFile(__DIR__ . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . 'fixtures' . DIRECTORY_SEPARATOR . 'api_version.xml');
     $this->version = new ApiVersionResponse($xml);
 }
 public function setUp()
 {
     parent::setUp();
     $xml = $this->loadXmlFile(__DIR__ . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . 'fixtures' . DIRECTORY_SEPARATOR . 'is_meeting_running.xml');
     $this->running = new IsMeetingRunningResponse($xml);
 }
 public function setUp()
 {
     parent::setUp();
     $xml = $this->loadXmlFile(__DIR__ . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . 'fixtures' . DIRECTORY_SEPARATOR . 'create_meeting.xml');
     $this->meeting = new CreateMeetingResponse($xml);
 }
 public function setUp()
 {
     parent::setUp();
     $xml = $this->loadXmlFile(__DIR__ . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . 'fixtures' . DIRECTORY_SEPARATOR . 'get_meetings.xml');
     $this->meetings = new GetMeetingsResponse($xml);
 }
 public function setUp()
 {
     parent::setUp();
     $xml = $this->loadXmlFile(__DIR__ . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . 'fixtures' . DIRECTORY_SEPARATOR . 'default_config_xml.xml');
     $this->configXml = new GetDefaultConfigXMLResponse($xml);
 }