<?php/* * This file is part of the Symfony package. * * (c) Fabien Potencier <fabien@symfony.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */namespaceSymfony\Component\Translation\Tests\Dumper;usePHPUnit\Framework\TestCase;useSymfony\Component\Translation\Dumper\IcuResFileDumper;useSymfony\Component\Translation\MessageCatalogue;classIcuResFileDumperTestextendsTestCase{publicfunctiontestFormatCatalogue(){$catalogue=newMessageCatalogue('en');$catalogue->add(['foo'=>'bar']);$dumper=newIcuResFileDumper();$this->assertStringEqualsFile(__DIR__.'/../fixtures/resourcebundle/res/en.res',$dumper->formatCatalogue($catalogue,'messages'));}}