public function initializePropertyMappingConfigurationSetsAllowedFields()
{
$trustedProperties = ['foo' => ['bar' => 1]];
$arguments = $this->initializePropertyMappingConfiguration($trustedProperties);
$propertyMappingConfiguration = $arguments->getArgument('foo')->getPropertyMappingConfiguration();
$this->assertFalse($propertyMappingConfiguration->shouldMap('someProperty'));
$this->assertTrue($propertyMappingConfiguration->shouldMap('bar'));
}