ILIAS
trunk Revision v11.0_alpha-2658-ge2404539063
◀ ilDoc Overview
ConvertTest.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
21
namespace
ILIAS\LegalDocuments\test\ConsumerToolbox
;
22
23
use
ILIAS\Refinery\Transformation
;
24
use
ILIAS\LegalDocuments\test\ContainerMock
;
25
use
PHPUnit\Framework\TestCase
;
26
use
ILIAS\LegalDocuments\ConsumerToolbox\Convert
;
27
28
require_once __DIR__ .
'/../ContainerMock.php'
;
29
30
class
ConvertTest
extends
TestCase
31
{
32
use
ContainerMock
;
33
34
public
function
testConstruct
(): void
35
{
36
$this->assertInstanceOf(Convert::class,
new
Convert
($this->mock(Transformation::class), $this->mock(Transformation::class)));
37
}
38
39
public
function
testGetter
(): void
40
{
41
$this->assertGetter(Convert::class, [
42
'fromString'
=> $this->mock(Transformation::class),
43
'toString'
=> $this->mock(Transformation::class),
44
]);
45
}
46
}
ContainerMock
ILIAS\LegalDocuments\test\ConsumerToolbox\ConvertTest\testConstruct
testConstruct()
Definition:
ConvertTest.php:34
ILIAS\LegalDocuments\test\ConsumerToolbox
Definition:
BlocksTest.php:21
Convert
Transformation
ContainerMock
ILIAS\LegalDocuments\ConsumerToolbox\Convert
Definition:
Convert.php:25
ILIAS\LegalDocuments\test\ConsumerToolbox\ConvertTest
Definition:
ConvertTest.php:30
ILIAS\LegalDocuments\test\ConsumerToolbox\ConvertTest\testGetter
testGetter()
Definition:
ConvertTest.php:39
TestCase
components
ILIAS
LegalDocuments
tests
ConsumerToolbox
ConvertTest.php
Generated on Tue Sep 2 2025 23:03:22 for ILIAS by
1.8.13 (using
Doxyfile
)