$form =
$this->
createBuilder('name'
) ->
setType(new ResolvedFormType(new HiddenType())) ->
getForm();
$this->
assertSame([ 'id' => 'name',
'name' => 'name',
'type_class' => HiddenType::
class,
'synchronized' => true,
'passed_options' =>
[],
'resolved_options' =>
[],
],
$this->dataExtractor->
extractConfiguration($form));
} public function testExtractConfigurationSortsPassedOptions() { $options =
[ 'b' => 'foo',
'a' => 'bar',
'c' => 'baz',
];
$form =
$this->
createBuilder('name'
)