Neos\ContentRepository\Tests\Unit\Domain\Service\ConfigurationContentDimensionPresetSourceTest::isPresetCombinationAllowedByConstraintsReturnsFalseIfAnyOfThePresetsDoesNotExist PHP Method

isPresetCombinationAllowedByConstraintsReturnsFalseIfAnyOfThePresetsDoesNotExist() public method

    public function isPresetCombinationAllowedByConstraintsReturnsFalseIfAnyOfThePresetsDoesNotExist()
    {
        $source = new ConfigurationContentDimensionPresetSource();
        $source->setConfiguration($this->configurationWithThreeDimensionsAndManyValues);
        $this->assertFalse($source->isPresetCombinationAllowedByConstraints(array('language' => 'xy', 'country' => 'DE')));
        $this->assertFalse($source->isPresetCombinationAllowedByConstraints(array('languageXX' => 'de', 'country' => 'DE')));
        $this->assertFalse($source->isPresetCombinationAllowedByConstraints(array('language' => 'de', 'country' => 'DEXX')));
    }