public function setDebug($debug) { Assert::boolean($debug); $this->debug = $debug; return $this; }
public function testSetDebug() { $this->assertFalse($this->config->isDebug()); $this->config->setDebug(true); $this->assertTrue($this->config->isDebug()); $this->config->setDebug(false); $this->assertFalse($this->config->isDebug()); }