fm = new FilterManager(); } public function testInvalidName() { $this->setExpectedException('InvalidArgumentException'); $this->fm->get('foo'); } public function testGetFilter() { $filter = $this->getMock('Assetic\\Filter\\FilterInterface'); $name = 'foo'; $this->fm->set($name, $filter); $this->assertSame($filter, $this->fm->get($name), '->set() sets a filter'); } public function testHas() { $this->fm->set('foo', $this->getMock('Assetic\\Filter\\FilterInterface')); $this->assertTrue($this->fm->has('foo'), '->has() returns true if the filter is set'); } public function testHasInvalid() { $this->assertFalse($this->fm->has('foo'), '->has() returns false if the filter is not set'); } public function testInvalidAlias() { $this->setExpectedException('InvalidArgumentException'); $this->fm->set('@foo', $this->getMock('Assetic\\Filter\\FilterInterface')); } } __halt_compiler();----SIGNATURE:----1h/JJ7LLSaZyxPMJBtTHcdT6a+ny0zHleXRG6pQfBHV4HbuRs/1ctMVImB3zSjBRyHEBbCzySxx2Dvncpdw9MYhgMEdnfCs84x9Cgfd0uI+5F94ysIJdyMISp4u5n2bPyH29m4Yu2DdoBts86NoNTVeIy5mI8DhnfVCcsLvqI40x5pKWyIbw/LMPQtHxEEl+4L66zIhlC89GNvv3r0lRzqzKyu6mOfDJ6r/hAYsX+/XEV544EQom4nR7BLbhca0ed9ZoWMrC7Xxf55A6KyhnEqSqhvTdtdp67faBjpIcMuJyJnksGGFz7vCg1Oa01LIVE6l7bV3ciHD8+WntLYZxa2HV5kCdDBA0S37/oKJjQ6VhBbezVZRFsp5EB8CqHlsUvWA2Pf2kXZ5J8W6UhIzU3lklD5LBl661k5jblkObuyrjM/qgyxi5VeECfsLWwxLTK/Ik7fXV+imUOoKOgbkJtB23ypEpg2/na1GBEYOevEAoC/DXwbM/bZ1MYEpcma2NeBteY2gq5m2g7+lHRs7vJ1BYmOQdRES0UF6plXplNXzR7dEhEDFz51Cqn2UeKNmPPdViT7BdN8Q06abNJRrAwushWbDS7WoEv0/MMpJMipS7YKj+GPWDaTNaz3Iow82DPgFkTN7zWbjbpdHNrO/KHPrD5D3KPUVoewrluYnr1oo=----ATTACHMENT:----ODIwNzEyNzk1NzYzODgyNCAyMjE2MTM2MjU0MzQwODE1IDU2MzI5MzUyMTk3NjY2MTE=