ILIAS
trunk Revision v11.0_alpha-2638-g80c1d007f79
◀ ilDoc Overview
ConstantTransformationTest.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
21
namespace
ILIAS\Tests\Refinery
;
22
23
use
ILIAS\Refinery\ConstantTransformation
;
24
use
PHPUnit\Framework\TestCase
;
25
26
class
ConstantTransformationTest
extends
TestCase
27
{
28
public
function
testTransform
(): void
29
{
30
$value =
'hejaaa'
;
31
32
$actual = (
new
ConstantTransformation
($value))->
transform
(
"foo"
);
33
34
$this->assertEquals($value, $actual);
35
}
36
}
ILIAS\Refinery\transform
transform($from)
Definition:
DeriveTransformWithProblem.php:36
ConstantTransformation
ILIAS\Tests\Refinery\ConstantTransformationTest
Definition:
ConstantTransformationTest.php:26
ILIAS\Tests\Refinery\TestCase
Definition:
TestCase.php:58
ILIAS\Refinery\ConstantTransformation
Definition:
ConstantTransformation.php:23
ILIAS\Tests\Refinery\ConstantTransformationTest\testTransform
testTransform()
Definition:
ConstantTransformationTest.php:28
ILIAS\Tests\Refinery
Definition:
ConstantTransformationTest.php:21
TestCase
components
ILIAS
Refinery
tests
ConstantTransformationTest.php
Generated on Sun Aug 31 2025 23:03:32 for ILIAS by
1.8.13 (using
Doxyfile
)