public function testRemoveRecursiveLeaf() { $coll = new AssetCollection(array( new AssetCollection(array( $leaf = new StringAsset('asdf'), )), )); $this ->assertTrue($coll ->removeLeaf($leaf)); }