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);
}