ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
AccessibilityCriterionConfigTest.php
Go to the documentation of this file.
1<?php
2
19use PHPUnit\Framework\TestCase;
20
27{
28 protected function setUp(): void
29 {
30 parent::setUp();
31 }
32
33 protected function tearDown(): void
34 {
35 }
36
37 public function testToJson()
38 {
39 $config = new ilAccessibilityCriterionConfig(["foo" => "bar"]);
40 $this->assertEquals(
41 '{"foo":"bar"}',
42 $config->toJson()
43 );
44 }
45}
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...