You are here

public function LibraryDependencyResolverTest::testGetMinimalRepresentativeSubset in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 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 173
Contains \Drupal\Tests\Core\Asset\LibraryDependencyResolverTest.

Class

LibraryDependencyResolverTest
@coversDefaultClass \Drupal\Core\Asset\LibraryDependencyResolver @group Asset

Namespace

Drupal\Tests\Core\Asset

Code

public function testGetMinimalRepresentativeSubset(array $libraries, array $expected) {
  $this
    ->assertEquals($expected, $this->libraryDependencyResolver
    ->getMinimalRepresentativeSubset($libraries));
}