ILIAS
trunk Revision v12.0_alpha-377-g3641b37b9db
◀ ilDoc Overview
CertificateTestTemplateDeleteActionTest.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
21
namespace
ILIAS\Test\Certificate
;
22
23
use PHPUnit\Framework\TestCase;
24
25
class
CertificateTestTemplateDeleteActionTest
extends
TestCase
26
{
27
public
function
testDeletionIsDelegatedToWrappedAction
(): void
28
{
29
$delete_action = $this->createMock(\ilCertificateDeleteAction::class);
30
$delete_action
31
->expects($this->once())
32
->method(
'delete'
);
33
34
$action =
new
CertificateTestTemplateDeleteAction
(
35
$delete_action
36
);
37
38
$action->delete(100, 200);
39
}
40
}
ILIAS\Test\Certificate\CertificateTestTemplateDeleteActionTest
Definition:
CertificateTestTemplateDeleteActionTest.php:26
ILIAS\Test\Certificate\CertificateTestTemplateDeleteActionTest\testDeletionIsDelegatedToWrappedAction
testDeletionIsDelegatedToWrappedAction()
Definition:
CertificateTestTemplateDeleteActionTest.php:27
ILIAS\Test\Certificate\CertificateTestTemplateDeleteAction
Definition:
CertificateTestTemplateDeleteAction.php:24
ILIAS\Test\Certificate
Definition:
CertificateSettingsTestFormRepository.php:21
components
ILIAS
Test
tests
Certificate
CertificateTestTemplateDeleteActionTest.php
Generated on Sat Dec 13 2025 23:03:49 for ILIAS by
1.9.4 (using
Doxyfile
)