/** * Check whether this module is in debugging mode * * @return bool */ public function isDebug() { return $this->helper->isDebug(); }
/** * @test * @covers \Yireo\GoogleTagManager2\Helper\Data::getConfigValue */ public function testIsDebug() { $this->assertEquals($this->target->isDebug(), (bool) $this->_getConfigValue('debug')); }