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

existingLocaleIsNotAddedToTheCollection() 공개 메소드

    public function existingLocaleIsNotAddedToTheCollection()
    {
        $localeShouldBeAdded = $this->localeCollection->addLocale($this->locales[0]);
        $localeShouldNotBeAdded = $this->localeCollection->addLocale(new I18n\Locale('en'));
        $this->assertTrue($localeShouldBeAdded);
        $this->assertFalse($localeShouldNotBeAdded);
    }