Neos\Flow\Tests\Unit\I18n\LocaleCollectionTest::returnsNullWhenNoParentLocaleCouldBeFound PHP Méthode

returnsNullWhenNoParentLocaleCouldBeFound() public méthode

    public function returnsNullWhenNoParentLocaleCouldBeFound()
    {
        foreach ($this->locales as $locale) {
            $this->localeCollection->addLocale($locale);
        }
        $this->assertNull($this->localeCollection->getParentLocaleOf(new I18n\Locale('sv')));
        $this->assertNull($this->localeCollection->getParentLocaleOf($this->locales[0]));
    }