ILIAS
release_8 Revision v8.23
◀ ilDoc Overview
ConstantTransformationTest.php
Go to the documentation of this file.
1
<?php
2
3
declare(strict_types=1);
4
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
}
ConstantTransformation
ILIAS\Tests\Refinery\ConstantTransformationTest
Definition:
ConstantTransformationTest.php:26
ILIAS\Tests\Refinery\TestCase
Definition:
TestCase.php:52
ILIAS\Refinery\ConstantTransformation
Definition:
ConstantTransformation.php:23
ILIAS\Tests\Refinery\ConstantTransformationTest\testTransform
testTransform()
Definition:
ConstantTransformationTest.php:28
ILIAS\Tests\Refinery
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Definition:
ConstantTransformationTest.php:21
TestCase
tests
Refinery
ConstantTransformationTest.php
Generated on Sun Aug 31 2025 22:02:50 for ILIAS by
1.8.13 (using
Doxyfile
)