function LibraryDependencyResolverTest::testGetLibrariesWithDependencies

@covers ::getLibrariesWithDependencies

@dataProvider providerTestGetLibrariesWithDependencies

File

core/tests/Drupal/Tests/Core/Asset/LibraryDependencyResolverTest.php, line 121

Class

LibraryDependencyResolverTest
@coversDefaultClass \Drupal\Core\Asset\LibraryDependencyResolver[[api-linebreak]] @group Asset

Namespace

Drupal\Tests\Core\Asset

Code

public function testGetLibrariesWithDependencies(array $libraries, array $expected) : void {
  $this->assertEquals($expected, $this->libraryDependencyResolver
    ->getLibrariesWithDependencies($libraries));
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.