/**
* @author Bernhard Schussek <bschussek@gmail.com>
*
* @requires extension intl
*/
class IntlBundleReaderTest extends TestCase
{ private IntlBundleReader
$reader;
protected function setUp(): void
{ $this->reader =
new IntlBundleReader();
} public function testReadReturnsArrayAccess() { $data =
$this->reader->
read(__DIR__.'/Fixtures/res', 'ro'
);
$this->
assertInstanceOf(\ArrayAccess::
class,
$data);
$this->
assertSame('Bar',
$data['Foo'
]);
$this->
assertArrayNotHasKey('ExistsNot',
$data);
}