/** * Test Disable All Snippets */ public function testDisableAllSnippets() { foreach ($this->snippetsProvider() as $snippet) { $this->helper->appendSnippet($snippet[0], $snippet[1], $snippet[2]); } $this->helper->setDisableAll(); foreach ($this->snippetsProvider() as $snippet) { $this->assertArrayHasKey($snippet[0], $this->helper->getDisabledSnippets()); $this->assertArrayNotHasKey($snippet[0], $this->helper->getEnabledSnippets()); } }