3declare(strict_types=1);
6use PHPUnit\Framework\TestCase;
13 private \ILIAS\Data\Factory
$f;
15 private \ILIAS\Data\URI
$url;
17 protected function setUp(): void
20 $this->label =
'ILIAS Homepage';
21 $this->url = $this->f->uri(
'https://www.ilias.de');
26 $link = $this->f->link($this->label, $this->url);
27 $this->assertInstanceOf(Link::class, $link);
testValues(Link $link)
@depends testFactory
A Link is the often used combination of a label and an URL.