<?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\QtFileDumper;useSymfony\Component\Translation\MessageCatalogue;classQtFileDumperTestextendsTestCase{publicfunctiontestFormatCatalogue(){$catalogue=newMessageCatalogue('en');$catalogue->add(['foo'=>'bar'],'resources');$dumper=newQtFileDumper();$this->assertStringEqualsFile(__DIR__.'/../fixtures/resources.ts',$dumper->formatCatalogue($catalogue,'resources'));}}