/** * Test the hasVar method. * * @return void * * @since 1.0 * @covers Joomla\Uri\Uri::hasVar */ public function testHasVar() { $this->assertThat($this->object->hasVar('somevariable'), $this->equalTo(false)); $this->assertThat($this->object->hasVar('var'), $this->equalTo(true)); }