3 declare(strict_types=1);
44 protected function setUp(): void
46 $language = $this->getMockBuilder(ilLanguage::class)
47 ->disableOriginalConstructor()
55 $group = $this->basicFactory->to();
57 $this->assertInstanceOf(ToGroup::class, $group);
62 $group = $this->basicFactory->in();
64 $this->assertInstanceOf(InGroup::class, $group);
69 $group = $this->basicFactory->int();
71 $this->assertInstanceOf(IntegerGroup::class, $group);
76 $group = $this->basicFactory->string();
78 $this->assertInstanceOf(StringGroup::class, $group);
83 $group = $this->basicFactory->numeric();
85 $this->assertInstanceOf(NumericGroup::class, $group);
90 $group = $this->basicFactory->logical();
92 $this->assertInstanceOf(LogicalGroup::class, $group);
97 $group = $this->basicFactory->password();
99 $this->assertInstanceOf(PasswordGroup::class, $group);
104 $group = $this->basicFactory->custom();
106 $this->assertInstanceOf(CustomGroup::class, $group);
111 $group = $this->basicFactory->container();
113 $this->assertInstanceOf(ContainerGroup::class, $group);
118 $group = $this->basicFactory->dateTime();
119 $this->assertInstanceOf(DateTimeGroup::class, $group);
124 $group = $this->basicFactory->uri();
125 $this->assertInstanceOf(URIGroup::class, $group);
130 $instance = $this->basicFactory->byTrying([
131 $this->basicFactory->numeric(),
132 $this->basicFactory->string()
134 $this->assertInstanceOf(ByTrying::class, $instance);
139 $instance = $this->basicFactory->identity();
140 $this->assertInstanceOf(IdentityTransformation::class, $instance);
testCreatePasswordGroup()
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
testCreateContainerGroup()
testCreateDateTimeGroup()