$customFieldUpdater->
onNewCustomFieldCreated($containerEvent);
} /**
* @dataProvider providerMapping
*
* @param array<mixed> $mapping
*/
public function testMapping(string
$type, array
$mapping): void
{ static::
assertSame($mapping, CustomFieldUpdater::
getTypeFromCustomFieldType($type));
} /**
* @return iterable<string, array{0: string, 1: array<mixed>}>
*/
public static function providerMapping(): iterable
{ yield 'int' =>
[ CustomFieldTypes::INT,
[ 'type' => 'long',
],