public function LibraryDependencyResolverTest::testGetMinimalRepresentativeSubset in Drupal 9
Same name and namespace in other branches
- 8 core/tests/Drupal/Tests/Core/Asset/LibraryDependencyResolverTest.php \Drupal\Tests\Core\Asset\LibraryDependencyResolverTest::testGetMinimalRepresentativeSubset()
- 10 core/tests/Drupal/Tests/Core/Asset/LibraryDependencyResolverTest.php \Drupal\Tests\Core\Asset\LibraryDependencyResolverTest::testGetMinimalRepresentativeSubset()
@covers ::getMinimalRepresentativeSubset
@dataProvider providerTestGetMinimalRepresentativeSubset
File
- core/
tests/ Drupal/ Tests/ Core/ Asset/ LibraryDependencyResolverTest.php, line 167
Class
- LibraryDependencyResolverTest
- @coversDefaultClass \Drupal\Core\Asset\LibraryDependencyResolver @group Asset
Namespace
Drupal\Tests\Core\AssetCode
public function testGetMinimalRepresentativeSubset(array $libraries, array $expected) {
$this
->assertEquals($expected, $this->libraryDependencyResolver
->getMinimalRepresentativeSubset($libraries));
}