public function testGetAllColumns() { // Set up single-column and multi-column definitions.
$definitions['id'
] =
$this->
setUpDefinition('id',
['value'
]);
$definitions['name'
] =
$this->
setUpDefinition('name',
['value'
]);
$definitions['type'
] =
$this->
setUpDefinition('type',
['value'
]);
$definitions['description'
] =
$this->
setUpDefinition('description',
['value', 'format'
]);
$definitions['owner'
] =
$this->
setUpDefinition('owner',
[ 'target_id',
'target_revision_id',
]);
$table_mapping =
new TestDefaultTableMapping($this->entityType,
$definitions);
$expected =
[];
$this->
assertSame($expected,
$table_mapping->
getAllColumns('test'
));