markTestSkipped('JavaScriptPacker is not installed.'); } } public function testPacker() { $asset = new FileAsset(__DIR__.'/fixtures/packer/example.js'); $asset->load(); $filter = new PackerFilter(); $filter->filterDump($asset); $this->assertEquals("var exampleFunction=function(arg1,arg2){alert('exampleFunction called!')}", $asset->getContent()); } }