public function testFilterLoad() {
$expected = <<<JAVASCRIPT
(function() {
var square;
square = function(x) {
return x * x;
};
}).call(this);
JAVASCRIPT;
$asset = new StringAsset('square = (x) -> x * x');
$asset
->load();
$this->filter
->filterLoad($asset);
$this
->assertEquals($expected, $asset
->getContent());
}