public function testLeafManipulation() {
$coll = new AssetCollection(array(
new StringAsset('asdf'),
));
foreach ($coll as $leaf) {
$leaf
->setTargetPath('asdf');
}
foreach ($coll as $leaf) {
$this
->assertEquals('asdf', $leaf
->getTargetPath(), 'leaf changes persist between iterations');
}
}