Neos\Flow\Tests\Unit\Property\PropertyMappingConfigurationTest::shouldMapReturnsFalseForBlacklistedProperties PHP Метод

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

    public function shouldMapReturnsFalseForBlacklistedProperties()
    {
        $this->propertyMappingConfiguration->allowAllPropertiesExcept('someSourceProperty', 'someOtherProperty');
        $this->assertFalse($this->propertyMappingConfiguration->shouldMap('someSourceProperty'));
        $this->assertFalse($this->propertyMappingConfiguration->shouldMap('someOtherProperty'));
        $this->assertTrue($this->propertyMappingConfiguration->shouldMap('someOtherPropertyWhichHasNotBeenConfigured'));
    }