19declare(strict_types=1);
27use PHPUnit\Framework\TestCase;
34 protected function setUp(): void
36 $dataFactory =
new DataFactory();
37 $language = $this->getMockBuilder(\
ILIAS\
Language\Language::class)
38 ->disableOriginalConstructor()
41 $this->group =
new StringGroup($dataFactory, $language);
46 $instance = $this->group->hasMaxLength(42);
47 $this->assertInstanceOf(HasMaxLength::class, $instance);
52 $instance = $this->group->hasMinLength(42);
53 $this->assertInstanceOf(HasMinLength::class, $instance);
58 $instance = $this->group->makeClickable();
59 $this->assertInstanceOf(MakeClickable::class, $instance);
testGreaterThanInstance()
Interface Observer \BackgroundTasks Contains several chained tasks and infos about them.