/**
  * Test the hasVar method.
  *
  * @return  void
  *
  * @since   11.1
  * @covers  JUri::hasVar
  */
 public function testHasVar()
 {
     $this->object->parse('http://*****:*****@www.example.com:80/path/file.html?var=value#fragment');
     $this->assertThat($this->object->hasVar('somevar'), $this->equalTo(false));
     $this->assertThat($this->object->hasVar('var'), $this->equalTo(true));
 }