public function testGetAsset() { $asset = $this ->getMock('Assetic\\Asset\\AssetInterface'); $this->am ->set('foo', $asset); $this ->assertSame($asset, $this->am ->get('foo'), '->get() returns an asset'); }