public function testRemoveInvalidLeaf() { $this ->setExpectedException('InvalidArgumentException'); $coll = new AssetCollection(); $coll ->removeLeaf(new StringAsset('asdf')); }