/** * @test * @covers \TYPO3\Flow\Property\PropertyMappingConfiguration::shouldMap */ 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')); }