'#description'=>$this->t('The text to insert between multiple values when aggregating them with the "@type" aggregation type. Can contain escape sequences like "\n" for a newline or "\t" for a horizontal tab.',['@type'=>$this->t('Concatenation')]),
$this->assertArrayHasKey('aggregated_field',$properties,'The "aggregated_field" property was added to the properties.');
$this->assertInstanceOf(AggregatedFieldProperty::class,$properties['aggregated_field'],'The "aggregated_field" property has the correct class.');
$this->assertEquals('string',$properties['aggregated_field']->getDataType(),'Correct data type set in the data definition.');
$this->assertEquals($translation->translate('Aggregated field'),$properties['aggregated_field']->getLabel(),'Correct label set in the data definition.');
$property=$properties['aggregated_field'];
$this->assertInstanceOf(AggregatedFieldProperty::class,$property,'The "aggregated_field" property has the correct class.');
$this->assertEquals('string',$property->getDataType(),'Correct data type set in the data definition.');
$this->assertEquals($translation->translate('Aggregated field'),$property->getLabel(),'Correct label set in the data definition.');
$expected_description=$translation->translate('An aggregation of multiple other fields.');
$this->assertEquals($expected_description,$properties['aggregated_field']->getDescription(),'Correct description set in the data definition.');
$this->assertEquals($expected_description,$property->getDescription(),'Correct description set in the data definition.');