assertInstanceOf('Assetic\\Filter\\FilterInterface', $filter, 'CallablesFilter implements FilterInterface'); } public function testLoader() { $nb = 0; $filter = new CallablesFilter(function($asset) use (&$nb) { $nb++; }); $filter->filterLoad($this->getMock('Assetic\\Asset\\AssetInterface')); $this->assertEquals(1, $nb, '->filterLoad() calls the loader callable'); } public function testDumper() { $nb = 0; $filter = new CallablesFilter(null, function($asset) use (&$nb) { $nb++; }); $filter->filterDump($this->getMock('Assetic\\Asset\\AssetInterface')); $this->assertEquals(1, $nb, '->filterDump() calls the loader callable'); } } __halt_compiler();----SIGNATURE:----v3vyAcW8e1p6nErtIzj3Zq2ObtbBKxCzgQaeP98nxSUzi07uHH1YYtDgdSccjxNQLVup46npJfHz+Wv9rZ/BH0jb8VjVQ8AbVKXPoW2e3j7nJIDS6TeTKX/g4BTje7QuVtcUBV65ZmS+9zyJ1Tg5qdQ/089VM6wt9JP4FJx4ve97J0euJaTqIR/I+Ynu6L9pql590nGiDjZXmk+XQQqrFbVww/5kXd0xXDPMklKsXmjoc8Tj7yJ8Qwrha0IcEJP+ZlSxp15WK7T4KvDox8jPMLqRVbfo8vTOLMk2GVNWAqwYIcrY+kR5HUwxfR8Q0SilfL9i04IcA9Lqp494LiHmGBih5c8yjFChvNe0mcdZpZm8r9Zf76s7FZFwpRJ6FUjj8MxKPUzYqrQ1NrAWrwbXQJv8Sq2/CP8PEWTaX5s/nLnA8jz7LYrxQi3bKMI6nAbUgJLAI9myXPnVsO4MoTgveNnHvGUzztoKK4V8Jr11Gu7cPYWDaWBo0ecr67EHbHHNxfi7uv0dat1GWdrOjNK4LHh+x2wgfy9AQ3nZ2pum3V4KSRYRRi+w7Jh6oRcwj4W1MdjcMEgeYEJdmbht5SE+DIhrXpKYWjvngG50Ir1ejFfOJnMkmSa096wUYJKWeRh4P02YCLqPfMOum0FiZHm8+uc7y3Lf6uHIzVJ0eQR2vqg=----ATTACHMENT:----NDE0OTE1NjAzNjAwMzYxMiA3NzE5MzQzMzA5NTgzNzk2IDM2Mzk4ODc1MzU2Mzk4NjQ=