19 declare(strict_types=1);
38 $transformedValue = $transformList->transform($originValue);
39 $this->assertIsArray($transformedValue);
40 $this->assertEquals($expectedValue, $transformedValue);
49 $this->expectException(UnexpectedValueException::class);
51 $transformList->transform($origValue);
57 'first_arr' => [[
'hello',
'world'], [
'hello',
'world']],
58 'second_arr' => [[
'hello2',
'world2'], [
'hello2',
'world2']],
59 'string_val' => [
'hello world', [
'hello world']],
60 'empty_array' => [[], []]
67 'null_array' => [[
null]],
68 'value_is_no_string' => [[
'hello', 2]]
while($session_entry=$r->fetchRow(ilDBConstants::FETCHMODE_ASSOC)) return null