Neos\Flow\Tests\Unit\I18n\LocaleCollectionTest::returnsNullWhenNoParentLocaleCouldBeFound PHP 메소드

returnsNullWhenNoParentLocaleCouldBeFound() 공개 메소드

    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]));
    }