getTargetPropertyName() public method

Maps the given $sourcePropertyName to a target property name.
public getTargetPropertyName ( string $sourcePropertyName ) : string
$sourcePropertyName string
return string property name of target
 /**
  * @test
  */
 public function getTargetPropertyNameShouldRespectMapping()
 {
     $this->propertyMappingConfiguration->setMapping('k1', 'k1a');
     $this->assertEquals('k1a', $this->propertyMappingConfiguration->getTargetPropertyName('k1'));
     $this->assertEquals('k2', $this->propertyMappingConfiguration->getTargetPropertyName('k2'));
 }