public function EntityLoadHelperTest::attributeCategorizationProvider in YAML Content 8
Data provider to test attribute categorization.
File
- tests/
src/ Unit/ EntityLoadHelper/ EntityLoadHelperTest.php, line 534
Class
- EntityLoadHelperTest
- Test functionality of the EntityLoadHelper class.
Namespace
Drupal\Tests\yaml_content\Unit\EntityLoadHelperCode
public function attributeCategorizationProvider() {
$fixture = $this
->loadFixtureContent('attribute_categorization.assertions');
$assertions = [];
foreach ($fixture as $assertion) {
$assertions[] = [
$assertion['entity_type'],
$assertion['content'],
$assertion['expected'],
];
}
return $assertions;
}