19 declare(strict_types=1);
21 require_once(
'vendor/composer/vendor/autoload.php');
31 $this->style1 =
new ilSkinStyle(
'style1',
'Style 1');
32 $this->assertEquals(
'style1', $this->style1->getId());
33 $this->assertEquals(
'Style 1', $this->style1->getName());
38 $this->style1 =
new ilSkinStyle(
'style1',
'Style 1');
39 $this->style1->setId(
'id');
40 $this->style1->setName(
'name');
41 $this->style1->setCssFile(
'css');
42 $this->style1->setImageDirectory(
'image');
43 $this->style1->setSoundDirectory(
'sound');
45 $this->assertEquals(
'id', $this->style1->getId());
46 $this->assertEquals(
'name', $this->style1->getName());
47 $this->assertEquals(
'css', $this->style1->getCssFile());
48 $this->assertEquals(
'image', $this->style1->getImageDirectory());
49 $this->assertEquals(
'sound', $this->style1->getSoundDirectory());