use Symfony\Component\Intl\Exception\RuntimeException;
/**
* @author Bernhard Schussek <bschussek@gmail.com>
*/
class PhpBundleReaderTest extends TestCase
{ private PhpBundleReader
$reader;
protected function setUp(): void
{ $this->reader =
new PhpBundleReader();
} public function testReadReturnsArray() { $data =
$this->reader->
read(__DIR__.'/Fixtures/php', 'en'
);
$this->
assertIsArray($data);
$this->
assertSame('Bar',
$data['Foo'
]);
$this->
assertArrayNotHasKey('ExistsNot',
$data);
}