public function StringAssetTest::testAutomaticLoad

File

drupal/core/vendor/kriswallsmith/assetic/tests/Assetic/Test/Asset/StringAssetTest.php, line 33

Class

StringAssetTest

Namespace

Assetic\Test\Asset

Code

public function testAutomaticLoad() {
  $filter = $this
    ->getMock('Assetic\\Filter\\FilterInterface');
  $filter
    ->expects($this
    ->once())
    ->method('filterLoad');
  $asset = new StringAsset('foo', array(
    $filter,
  ));
  $asset
    ->dump();
}