public function testLoad() {
$filter = $this
->getMock('Assetic\\Filter\\FilterInterface');
$asset = $this
->getMock('Assetic\\Asset\\AssetInterface');
$this->am
->expects($this
->exactly(2))
->method('get')
->with('foo')
->will($this
->returnValue($asset));
$asset
->expects($this
->once())
->method('load')
->with($filter);
$this->ref
->load($filter);
}