am = new AssetManager(); } 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'); } public function testGetInvalidAsset() { $this->setExpectedException('InvalidArgumentException'); $this->am->get('foo'); } public function testHas() { $asset = $this->getMock('Assetic\\Asset\\AssetInterface'); $this->am->set('foo', $asset); $this->assertTrue($this->am->has('foo'), '->has() returns true if the asset is set'); $this->assertFalse($this->am->has('bar'), '->has() returns false if the asset is not set'); } public function testInvalidName() { $this->setExpectedException('InvalidArgumentException'); $this->am->set('@foo', $this->getMock('Assetic\\Asset\\AssetInterface')); } } __halt_compiler();----SIGNATURE:----VX8lngAIq500ztJp6HY0RlG/0iab6rhjukpE9TwbmAJfX4ylKXg2ioHWC0wyVmoTE9meJRPXNtVoNQ+bOcoftswRNMsAPuzsSIzBBZGofPU8fqBPEaAlqDDOk6KWvFDwsp8FHkiKA0XJnxlUjBirNiwTUFfVeXX/DRqWFTZEJ4n+XU3iIqkLuL+Of9rXXczeOKrfr0czwgwVzqBqPyegwHr5z0h+XSb5IPFsqaUNiT+TQWHICOtXOcKpH+lfdaBAztYcMYJ/QxEfYKwgryMS8A9/YZ0Beuve0ieNtLq2vCtlrAFPyQe3sQY3aio81KlXom5Rf3JDrcRHu3f3vJ45A404InkdLSXrZB5/cmz3Q0z0j2kde0sxdYmA/SDB+zqrtd1Ho75qQYI3osH13IgXWeYV7k+ME/B8dKtJMXvL89A1QGlalikLvRsfGzFRQLPGGKn+3tqiZ2Np6sSVQFHChqWI1nDMJidtFYZ3GpXi1tpr7WPYk0lFbWVc12UL/tWh2txPttZB7tXs/tJuhVMJiFZkbC6Kt+HoI+1UXNkVJefUKAuMFVtxmfFZ2f0miXurc+MVGXBIWHwamlscu8kjT7ZsjHtenlpVqLDQXa8XZ0OMOS2NlPdRFqSmhTPsckkP4s7eVxvSnaSYj9Ts6O6vrlmivC3T+eSsR8EEBjIgub0=----ATTACHMENT:----MTYwMDYxMzk1MDI2OTMgNTMxMzMyMTc1MzI1MzI0MiAxMzU5ODU1NzE4NDI0MTQy