return array_map( fn ($value) =>
[$value],
array_keys(self::ALPHA3_TO_NUMERIC
) );
} /**
* @dataProvider provideCurrenciesWithNumericEquivalent
*/
public function testGetNumericCode($currency) { $this->
assertSame(self::ALPHA3_TO_NUMERIC
[$currency], Currencies::
getNumericCode($currency));
} public static function provideCurrenciesWithoutNumericEquivalent() { return array_map( fn ($value) =>
[$value],
array_diff(self::CURRENCIES,
array_keys(self::ALPHA3_TO_NUMERIC
)) );
} /**
* @dataProvider provideCurrenciesWithoutNumericEquivalent
*/