3 declare(strict_types=1);
31 protected function setUp(): void
43 $transformedValue = $this->transformation->transform($originVal);
44 $this->assertIsString($transformedValue);
45 $this->assertEquals($expectedVal, $transformedValue);
50 $obj =
new class () extends
stdClass {
51 public function __toString()
57 'string_val' => [
'hello',
'hello'],
58 'int_val' => [300,
'300'],
59 'neg_int_val' => [-300,
'-300'],
60 'zero_int_val' => [0,
'0'],
61 'pos_bool' => [
true,
'true'],
62 'neg_bool' => [
false,
'false'],
63 'float_val' => [20.5,
'20.5'],
64 'object_val' => [$obj,
'an object']
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...