protected function AssetFactoryTest::setUp

File

drupal/core/vendor/kriswallsmith/assetic/tests/Assetic/Test/Factory/AssetFactoryTest.php, line 22

Class

AssetFactoryTest

Namespace

Assetic\Test\Factory

Code

protected function setUp() {
  $this->am = $this
    ->getMock('Assetic\\AssetManager');
  $this->fm = $this
    ->getMock('Assetic\\FilterManager');
  $this->factory = new AssetFactory(__DIR__);
  $this->factory
    ->setAssetManager($this->am);
  $this->factory
    ->setFilterManager($this->fm);
}