assertInstanceOf('Assetic\\Filter\\FilterInterface', $filter, 'FilterCollection implements FilterInterface'); } public function testEnsure() { $filter = $this->getMock('Assetic\\Filter\\FilterInterface'); $asset = $this->getMock('Assetic\\Asset\\AssetInterface'); $filter->expects($this->once())->method('filterLoad'); $coll = new FilterCollection(); $coll->ensure($filter); $coll->ensure($filter); $coll->filterLoad($asset); } public function testAll() { $filter = new FilterCollection(array( $this->getMock('Assetic\\Filter\\FilterInterface'), $this->getMock('Assetic\\Filter\\FilterInterface'), )); $this->assertInternalType('array', $filter->all(), '->all() returns an array'); } public function testEmptyAll() { $filter = new FilterCollection(); $this->assertInternalType('array', $filter->all(), '->all() returns an array'); } public function testCountable() { $filters = new FilterCollection(array($this->getMock('Assetic\\Filter\\FilterInterface'))); $this->assertEquals(1, count($filters), 'Countable returns the count'); } } __halt_compiler();----SIGNATURE:----F2I6vAagtfm5tG2UQonfnhPo2hJozvN4MnnCKdmfQJKNynYuqm32RbcJjDyKOZhJQxkFRPnI5rfp+pETTE0bvVcE7TuNbl5sPYHbpwPmv4J5g9O6A/HXq0SoQ+EfUE6bL9Lw83kQaYvUb7E0Ga5M9p6ge2gD1gHaCcmrOzjO3etoi8l7IhM3yMZTvsYpLKNNbMIvcgGLGz5ym7bvpvpEbrNaAvxdeIj1t2RpT2oU2lyZLMqjw0VZnxHRLsBSyCNSGH8FaDNIEVyd8EA0gJZBmT+RS28fVH90XXR+J1c8Q5w2HMz/g3p4zYl379QEZ5PA3MYyHLJmMi5orSWRfDFc0DrsXZGZr1q8maDqcDFgQYiJQN3jf1yC/nSlwSeesLum0yx9aVcw82k3foiPPTg/hRJaoSfxV4bU9fq6mTzOmxCf6FJjw5f0/sRepcw07LgHb8RDp9AL5xlGLTyyT3PM2bUEfHJ2CLtssdWbcaQQb487GsSy11wUEZp8lEZuFAFWWqhCEOyH8I6ejkG8Vo5LOujE4mH8GJoskpL+JuRx8JELfNekJFxTwMgr+VsADWq/tPpLa+ZLq86uyx42iY3ZMtG4eDHrpcc3ZTJdTJ3x316MpmWx99+Ofr5Ei2VQiwkXg2EwGnAnKwgSp7NppW/sJcKuhAJ65pnJwSjbM6PKkpg=----ATTACHMENT:----NDM2OTU5NjAzMjE0NDQ4OCAzNTk0NzcxMjExMTc4ODAgODE4OTkzMDM2ODIyNTk3NA==