public function ConfigDependencyManagerTest::testSortAll in Drupal 9
Same name and namespace in other branches
- 8 core/tests/Drupal/Tests/Core/Config/ConfigDependencyManagerTest.php \Drupal\Tests\Core\Config\ConfigDependencyManagerTest::testSortAll()
- 10 core/tests/Drupal/Tests/Core/Config/ConfigDependencyManagerTest.php \Drupal\Tests\Core\Config\ConfigDependencyManagerTest::testSortAll()
@dataProvider providerTestSortAll
File
- core/
tests/ Drupal/ Tests/ Core/ Config/ ConfigDependencyManagerTest.php, line 20
Class
- ConfigDependencyManagerTest
- Tests the ConfigDependencyManager class.
Namespace
Drupal\Tests\Core\ConfigCode
public function testSortAll(array $data, array $expected_order) {
$dependency_manager = new ConfigDependencyManager();
$dependency_manager
->setData($data);
$this
->assertEquals($expected_order, $dependency_manager
->sortAll());
}