/** * Test related method */ public function testIsSetEnabled() { $this->assertTrue($this->product->isEnabled()); $this->product->setEnabled(false); $this->assertFalse($this->product->isEnabled()); $this->product->setEnabled(true); $this->assertTrue($this->product->isEnabled()); }
/** * {@inheritDoc} */ public function isEnabled() { $this->__initializer__ && $this->__initializer__->__invoke($this, 'isEnabled', array()); return parent::isEnabled(); }