public function AssetManagerTest::testInvalidName

File

drupal/core/vendor/kriswallsmith/assetic/tests/Assetic/Test/AssetManagerTest.php, line 47

Class

AssetManagerTest

Namespace

Assetic\Test

Code

public function testInvalidName() {
  $this
    ->setExpectedException('InvalidArgumentException');
  $this->am
    ->set('@foo', $this
    ->getMock('Assetic\\Asset\\AssetInterface'));
}