Neos\ContentRepository\Tests\Unit\Domain\Service\ConfigurationContentDimensionPresetSourceTest::isPresetCombinationAllowedByConstraintsReturnsTrueIfNoConstraintsHaveBeenDefined PHP Метод

isPresetCombinationAllowedByConstraintsReturnsTrueIfNoConstraintsHaveBeenDefined() публичный Метод

    public function isPresetCombinationAllowedByConstraintsReturnsTrueIfNoConstraintsHaveBeenDefined()
    {
        $source = new ConfigurationContentDimensionPresetSource();
        $source->setConfiguration($this->configurationWithThreeDimensionsAndManyValues);
        $this->assertTrue($source->isPresetCombinationAllowedByConstraints(array('language' => 'de', 'country' => 'DE')));
    }