Definition at line 40 of file SlotTest.php.
◆ testAgreement()
ILIAS\LegalDocuments\test\ConsumerToolbox\SlotTest::testAgreement |
( |
| ) |
|
Definition at line 78 of file SlotTest.php.
82 $this->mock(Blocks::class),
83 $this->mock(LazyProvide::class),
84 $this->mock(Container::class)
86 $this->assertInstanceOf(Agreement::class, $instance->agreement($this->mock(User::class), $this->mock(Settings::class)));
◆ testConstruct()
ILIAS\LegalDocuments\test\ConsumerToolbox\SlotTest::testConstruct |
( |
| ) |
|
Definition at line 44 of file SlotTest.php.
46 $this->assertInstanceOf(Slot::class,
new Slot(
48 $this->mock(Blocks::class),
49 $this->mock(LazyProvide::class),
50 $this->mock(Container::class)
◆ testModifyFooter()
ILIAS\LegalDocuments\test\ConsumerToolbox\SlotTest::testModifyFooter |
( |
| ) |
|
Definition at line 89 of file SlotTest.php.
93 $this->mock(Blocks::class),
94 $this->mock(LazyProvide::class),
95 $this->mock(Container::class)
98 $this->assertInstanceOf(ModifyFooter::class, $instance->modifyFooter($this->mock(User::class)));
◆ testOnlineStatusFilter()
ILIAS\LegalDocuments\test\ConsumerToolbox\SlotTest::testOnlineStatusFilter |
( |
| ) |
|
Definition at line 113 of file SlotTest.php.
115 $instance = $instance =
new Slot(
117 $this->mock(Blocks::class),
118 $this->mock(LazyProvide::class),
119 $this->mock(Container::class)
122 $this->assertInstanceOf(OnlineStatusFilter::class, $instance->onlineStatusFilter($this->fail(...)));
◆ testSelfRegistration()
ILIAS\LegalDocuments\test\ConsumerToolbox\SlotTest::testSelfRegistration |
( |
| ) |
|
Definition at line 101 of file SlotTest.php.
103 $instance =
new Slot(
105 $this->mock(Blocks::class),
106 $this->mock(LazyProvide::class),
107 $this->mock(Container::class)
110 $this->assertInstanceOf(SelfRegistration::class, $instance->selfRegistration($this->mock(User::class), $this->fail(...)));
◆ testShowOnLoginPage()
ILIAS\LegalDocuments\test\ConsumerToolbox\SlotTest::testShowOnLoginPage |
( |
| ) |
|
Definition at line 54 of file SlotTest.php.
58 $this->mock(Blocks::class),
59 $this->mock(LazyProvide::class),
60 $this->mock(Container::class)
63 $this->assertInstanceOf(ShowOnLoginPage::class, $instance->showOnLoginPage());
◆ testWithdrawProcess()
ILIAS\LegalDocuments\test\ConsumerToolbox\SlotTest::testWithdrawProcess |
( |
| ) |
|
Definition at line 66 of file SlotTest.php.
70 $this->mock(Blocks::class),
71 $this->mock(LazyProvide::class),
72 $this->mock(Container::class)
75 $this->assertInstanceOf(WithdrawProcess::class, $instance->withdrawProcess($this->mock(User::class), $this->mock(Settings::class), $this->fail(...)));
The documentation for this class was generated from the following file:
- components/ILIAS/LegalDocuments/tests/ConsumerToolbox/SlotTest.php