ILIAS  release_8 Revision v8.23
AccessibilityCriterionConfigTest.php
Go to the documentation of this file.
1 <?php
2 
4 
10 class AccessibilityCriterionConfigTest extends TestCase
11 {
12  protected function setUp(): void
13  {
14  parent::setUp();
15  }
16 
17  protected function tearDown(): void
18  {
19  }
20 
21  public function testToJson()
22  {
23  $config = new ilAccessibilityCriterionConfig(["foo" => "bar"]);
24  $this->assertEquals(
25  '{"foo":"bar"}',
26  $config->toJson()
27  );
28  }
29 }
if(!array_key_exists('PATH_INFO', $_SERVER)) $config
Definition: metadata.php:85
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...