public function AssetCollectionTest::testRemoveRecursiveLeaf

File

drupal/core/vendor/kriswallsmith/assetic/tests/Assetic/Test/Asset/AssetCollectionTest.php, line 287

Class

AssetCollectionTest

Namespace

Assetic\Test\Asset

Code

public function testRemoveRecursiveLeaf() {
  $coll = new AssetCollection(array(
    new AssetCollection(array(
      $leaf = new StringAsset('asdf'),
    )),
  ));
  $this
    ->assertTrue($coll
    ->removeLeaf($leaf));
}