* * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Symfony\Component\Form\Tests\Extension\Core\Type; use Symfony\Component\Form\ChoiceList\View\ChoiceView; use Symfony\Component\Intl\Util\IntlTestHelper; class CurrencyTypeTest extends BaseTypeTest { const TESTED_TYPE = 'Symfony\Component\Form\Extension\Core\Type\CurrencyType'; protected function setUp() { IntlTestHelper::requireIntl($this, false); parent::setUp(); } public function testCurrenciesAreSelectable() { $choices = $this->factory->create(static::TESTED_TYPE) ->createView()->vars['choices']; $this->assertContains(new ChoiceView('EUR', 'EUR', 'Euro'), $choices, '', false, false); $this->assertContains(new ChoiceView('USD', 'USD', 'US Dollar'), $choices, '', false, false); $this->assertContains(new ChoiceView('SIT', 'SIT', 'Slovenian Tolar'), $choices, '', false, false); } public function testSubmitNull($expected = null, $norm = null, $view = null) { parent::testSubmitNull($expected, $norm, ''); } } __halt_compiler();----SIGNATURE:----MK53lHn/MDk0gRiJ5qsh6jUhBIRCWK1yxeriiGftimzsvhGuCb73gfH9piT/keNo0oitg3u+GLgeMIMFDMunny6c4ygXHefZ1Sqn1dIUvWyomj/dx1xBvXHDgHKc9J1I3rl8hkRnQG+Vhf+ZERfkUW9eLbhj0JO7HtMluREqRbIQpj4Er0cKpCxXM65AdD3PIFgp7Jtbs3G8oyxH3y8HETfpMwd0Ep1JPdzf0X5WJgjXG/S1hoFoYZZswh9pd5MFMaO5CmGDcpbp5BUNyVoRNwf9eG3ANL213enOZTBl5FBXeXrcxJIzfYaGFxjssvHJxyDztpdWIawUlBVusfWoRrSatGtV2b9lf6XJzHRemKmhmqC+Re1/dJapKtiZ+FXh5At2iQ+TuhdYR2V3BIGRF4dfC1p/8zYHKRziAuhZUUremZSsGsHuI7/I9JxE1+OIYUHbh2HrSeqzsYvJSdvOtmPLn5/skt7Sr7aL7mLAMt4YMkE4MWCA8xUd7T0wFr7nadzvrAIQZr3/e4q33ERsjJgGehZCGWE2yR9N7kzRT1hbS3yviDBi4BjeReGL7XgTzFxs1bQ4EHaIKp1M3nmNdBPD5DdK4GEeFgYoj+Z4EVpVVHyYA8AbdsyWEJGG4XpQMqgJ7OmFdMW0dVKfzV1BkTKzhqIBiwrr3rnCovFPyfs=----ATTACHMENT:----MzIyMTgzNDQ3MjA4MzM1NyA2MDg4Mzc2MTE3MTI1OTU3IDk0NDAyODU2NDc5MzU5MjQ=