/** * testLoadLocaleDefinition method * * @return void */ public function testLoadLocaleDefinition() { $path = current(App::path('Locale')); $result = I18n::loadLocaleDefinition($path . 'nld' . DS . 'LC_TIME'); $expected = array('zondag', 'maandag', 'dinsdag', 'woensdag', 'donderdag', 'vrijdag', 'zaterdag'); $this->assertSame($expected, $result['day']); }