public function testBeautifyUglify() {
$this->filter
->setBeautify(true);
$this->filter
->filterDump($this->asset);
$expected = <<<JS
/**
* Copyright
*/function bar(a) {
return var2.push(a), a;
}
var foo = new Array(1, 2, 3, 4), bar = Array(a, b, c), var1 = new Array(5), var2 = new Array(a), foo = function(a) {
return a;
};
JS;
$this
->assertSame($expected, $this->asset
->getContent());
}