/var/www/vhosts/ihelp.ro/_OLD/vendor/aura/intl/tests
NameSizeModeActions
BasicFormatterTest.php8300644editdlrm
FormatterLocatorTest.php10220644editdlrm
IntlFormatterTest.php77570644editdlrm
MockFormatter.php1900644editdlrm
PackageLocatorTest.php10210644editdlrm
PackageTest.php10710644editdlrm
TranslatorLocatorFactoryTest.php2950644editdlrm
TranslatorLocatorTest.php31060644editdlrm
TranslatorTest.php29220644editdlrm
Edit: /var/www/vhosts/ihelp.ro/_OLD/vendor/aura/intl/tests/PackageLocatorTest.php (1021B)
packages = new PackageLocator([ 'Vendor.Foo' => [ 'en_US' => function () { return new \Aura\Intl\Package; }, ], ]); } public function testGet() { // get once to create it the first time $first = $this->packages->get('Vendor.Foo', 'en_US'); $this->assertInstanceOf('Aura\Intl\Package', $first); // get again to make sure it's the same object $again = $this->packages->get('Vendor.Foo', 'en_US'); $this->assertSame($first, $again); // try for an unregistered package $this->setExpectedException('Aura\Intl\Exception'); $this->packages->get('Vendor.Bar', 'en_US'); } }