public function GlobAssetTest::testLoad

File

drupal/core/vendor/kriswallsmith/assetic/tests/Assetic/Test/Asset/GlobAssetTest.php, line 48

Class

GlobAssetTest

Namespace

Assetic\Test\Asset

Code

public function testLoad() {
  $assets = new GlobAsset(__DIR__ . '/*.php');
  $assets
    ->load();
  $this
    ->assertNotEmpty($assets
    ->getContent(), '->load() loads contents');
}