public function testShouldAllowRemovingLayers() { $this->testShouldAllowAddingLayers(); $this->helper->removeLayer('/js/foo/foo.xd.js'); $layers = $this->helper->getLayers(); $this->assertEquals(1, count($layers)); $this->assertEquals('/js/bar/bar.xd.js', $layers[0]); }