2 declare(strict_types = 1);
20 use TYPO3\TestingFramework\Core\Unit\UnitTestCase;
32 protected function setUp()
54 'key2' =>
'another_value'
68 'key2' =>
'another_value',
74 $this->assertSame($expected, $this->subject->reset()->setReferenceConfiguration($input)->getResolvedConfiguration($input));
115 $this->assertSame($expected, $this->subject->reset()->setReferenceConfiguration($input)->getResolvedConfiguration($input));
129 '__inheritances' => [
130 10 =>
'Form.klaus01',
132 'key' =>
'value override',
143 'key' =>
'value override',
148 $this->assertSame($expected, $this->subject->reset()->setReferenceConfiguration($input)->getResolvedConfiguration($input));
172 '__inheritances' => [
173 10 =>
'Form.klaus01',
213 $this->assertSame($expected, $this->subject->reset()->setReferenceConfiguration($input)->getResolvedConfiguration($input));
227 '__inheritances' => [
228 10 =>
'Form.mixin01',
233 '__inheritances' => [
234 10 =>
'Form.mixin01',
257 $this->assertSame($expected, $this->subject->reset()->setReferenceConfiguration($input)->getResolvedConfiguration($input));
268 'key01' =>
'value01',
269 'key02' =>
'value02',
272 '__inheritances' => [
273 10 =>
'Form.mixin01',
277 'key03' =>
'value03',
281 '__inheritances' => [
282 10 =>
'Form.mixin01',
284 'key01' =>
'value01 override 01',
287 '__inheritances' => [
288 10 =>
'Form.klaus01',
289 20 =>
'Form.mixin03',
291 'key01' =>
'value01 override 02',
293 'horst01' =>
'gerda01'
296 '__inheritances' => [
297 10 =>
'Form.mixin02',
303 '__inheritances' => [
304 10 =>
'Form.klaus02',
313 'key01' =>
'value01',
314 'key02' =>
'value02',
317 'key01' =>
'value01',
318 'key02' =>
'value02',
321 'key03' =>
'value03',
324 'key01' =>
'value01 override 01',
325 'key02' =>
'value02',
328 'key01' =>
'value01 override 02',
330 'horst01' =>
'gerda01'
333 'key01' =>
'value01',
338 'key01' =>
'value01 override 02',
340 'horst01' =>
'gerda01'
343 'key01' =>
'value01',
350 $this->assertSame($expected, $this->subject->reset()->setReferenceConfiguration($input)->getResolvedConfiguration($input));
363 '__inheritances' => [
364 10 =>
'TYPO3.CMS.Form.anotherKey',
368 '__inheritances' => [
369 10 =>
'TYPO3.CMS.Form.someKey',
377 $this->expectException(CycleInheritancesException::class);
378 $this->expectExceptionCode(1474900797);
380 $this->subject->reset()->setReferenceConfiguration($input)->getResolvedConfiguration($input);
393 '__inheritances' => [
394 10 =>
'TYPO3.CMS.Form.klaus2',
398 '__inheritances' => [
399 10 =>
'TYPO3.CMS.Form.mixin1',
403 '__inheritances' => [
404 10 =>
'TYPO3.CMS.Form.mixin2',
408 '__inheritances' => [
409 10 =>
'TYPO3.CMS.Form.klaus2',
417 $this->expectException(CycleInheritancesException::class);
418 $this->expectExceptionCode(1474900799);
420 $this->subject->reset()->setReferenceConfiguration($input)->getResolvedConfiguration($input);
435 '__inheritances' => [
436 10 =>
'TYPO3.CMS.Form.mixin01',
441 '__inheritances' => [
442 10 =>
'TYPO3.CMS.Form.klaus1',
445 '__inheritances' => [
446 10 =>
'TYPO3.CMS.Form.mixin01',
447 20 =>
'TYPO3.CMS.Form.mixin02',
452 'liselotte01' =>
'value',
455 '__inheritances' => [
456 10 =>
'TYPO3.CMS.Form.klaus2',
458 'liselotte02' =>
'value',
465 $this->expectException(CycleInheritancesException::class);
466 $this->expectExceptionCode(1474900797);
468 $this->subject->reset()->setReferenceConfiguration($input)->getResolvedConfiguration($input);