/** * Test locale service alias * * @requires extension intl */ public function testAppCallLocaleServiceAlias() { $config = array('locale' => array('default' => 'en_US', 'dir' => DATA_PATH . '/lang', 'timezone' => 'Europe/Lisbon')); $app = new \Duality\App(dirname(__FILE__) . '/../..', $config); $expected = '\\Duality\\Service\\Localization'; $this->assertInstanceOf($expected, $app->getLocale()); }