tests/Unit/Controller/Create/FormProcessorTest.php 1 location
|
@@ 15-21 (lines=7) @@
|
12 |
|
{ |
13 |
|
|
14 |
|
/** {@inheritdoc} */ |
15 |
|
protected function createProcessor(string $fqcn): EntityProcessorInterface |
16 |
|
{ |
17 |
|
$builder = new FormFactoryBuilder(); |
18 |
|
$factory = $builder->getFormFactory(); |
19 |
|
|
20 |
|
return new FormProcessor(AbcFormType::class, [], $factory); |
21 |
|
} |
22 |
|
} |
23 |
|
|
tests/Unit/Controller/Update/FormProcessorTest.php 1 location
|
@@ 14-20 (lines=7) @@
|
11 |
|
final class FormProcessorTest extends UpdateControllerTest |
12 |
|
{ |
13 |
|
/** {@inheritdoc} */ |
14 |
|
protected function createProcessor(string $fqcn): EntityProcessorInterface |
15 |
|
{ |
16 |
|
$builder = new FormFactoryBuilder(); |
17 |
|
$factory = $builder->getFormFactory(); |
18 |
|
|
19 |
|
return new FormProcessor(AbcFormType::class, [], $factory); |
20 |
|
} |
21 |
|
} |
22 |
|
|