/**
  * Tests the JWeb::loadSystemUris method.
  *
  * @return  void
  *
  * @since   11.3
  */
 public function testLoadSystemUrisWithoutSiteUriWithRelativeMediaUriSet()
 {
     // Set the media_uri value in the configuration.
     $config = new JRegistry(array('media_uri' => '/media/'));
     $this->inspector->setClassProperty('config', $config);
     $this->inspector->loadSystemUris('http://joom.la/application');
     $this->assertThat($this->inspector->getClassProperty('config')->get('uri.base.full'), $this->equalTo('http://joom.la/application/'), 'Checks the full base uri.');
     $this->assertThat($this->inspector->getClassProperty('config')->get('uri.base.host'), $this->equalTo('http://joom.la'), 'Checks the base uri host.');
     $this->assertThat($this->inspector->getClassProperty('config')->get('uri.base.path'), $this->equalTo('/application/'), 'Checks the base uri path.');
     $this->assertThat($this->inspector->getClassProperty('config')->get('uri.media.full'), $this->equalTo('http://joom.la/media/'), 'Checks the full media uri.');
     // Since this is on a different domain we need the full url for this too.
     $this->assertThat($this->inspector->getClassProperty('config')->get('uri.media.path'), $this->equalTo('/media/'), 'Checks the media uri path.');
 }