assertInstanceOf('Assetic\\Asset\\AssetInterface', $asset, 'Asset implements AssetInterface'); } public function testLoadAppliesFilters() { $filter = $this->getMock('Assetic\\Filter\\FilterInterface'); $filter->expects($this->once())->method('filterLoad'); $asset = new StringAsset('foo', array($filter)); $asset->load(); } public function testAutomaticLoad() { $filter = $this->getMock('Assetic\\Filter\\FilterInterface'); $filter->expects($this->once())->method('filterLoad'); $asset = new StringAsset('foo', array($filter)); $asset->dump(); } public function testGetFilters() { $asset = new StringAsset(''); $this->assertInternalType('array', $asset->getFilters(), '->getFilters() returns an array'); } public function testLoadAppliesAdditionalFilter() { $asset = new StringAsset(''); $asset->load(); $filter = $this->getMock('Assetic\\Filter\\FilterInterface'); $filter->expects($this->once()) ->method('filterLoad') ->with($asset); $asset->load($filter); } public function testDumpAppliesAdditionalFilter() { $asset = new StringAsset(''); $filter = $this->getMock('Assetic\\Filter\\FilterInterface'); $filter->expects($this->once()) ->method('filterDump') ->with($asset); $asset->dump($filter); } public function testLastModified() { $asset = new StringAsset(''); $asset->setLastModified(123); $this->assertEquals(123, $asset->getLastModified(), '->getLastModified() return the set last modified value'); } } __halt_compiler();----SIGNATURE:----M6hrVv00p62eBsmeA66iJ8OIFd89h4Drct35lTXcfSWqLZjq9GperL/9DxX0Wzvpcq10EcBS0E3DlcPWmTJrxZxdF48VfYM5qT15/zx35Q+WBU9oOxVDQ7CwTmZ1jk2fLkmTTxc/EtLHVRn3+FG9qT2nwLE0jcNCsHB2htCFOvHQkPmM1kTJUzqyxkQ7zrHB2nkfU6sCYSVH1gDULM7+Yy9Rf/sX/YO/IWCtvjwl3avqRZYaEYUCBL+D6hgqLlOmXubOfA/kRGjZz5TARPRkWsIzWf1j1w84WaqVWFrYtjl9mXpGlm9xiW5Vea9lEnmK31/aowQlVs+pCYrbJFiLv3Oxe7XrWoC1M6S5EWuuBymYOCdSmh06GuDNr7waZyM6zRlPLJHXtr1DmBTNbaL3SG1bLFdObKngZhr4sOX4psKJOcdXIS++RTqLbbUBQMCRRZL2xBKuhkn8hjvR+mc4LyWQ3TYNJnC9EeoRpyYYqNFvb8Vpx0u0JUSsqQw+ARkIowm5QOCr5YN/fHDFN8UAgL0A9LZpkKNG37htPkfloHB46V3MGquHy6kTLsQ+luh0MicY1ZYeLG+YT1W9vwA4aRmGpsMYZM3jXtxBoc6yFAGtSyzVIHVaX0Sv9pbI6libyhDc0n9r4n+WAmsr7Hda3AcGhHd77WJxcnVBK+nhngs=----ATTACHMENT:----MjU2MTU3MzIxODg5OTUwNSA3NTkyMDQxNTAzNzcwNTYxIDg3NzM2NDYzNjQxMDQ1NDY=