/** * Test getter/setter for color property */ public function testGetSetColor() { $this->assertEmpty($this->channel->getColor()); // change value and assert new $newColor = '25,25,112'; $this->assertEntity($this->channel->setColor($newColor)); $this->assertEquals($newColor, $this->channel->getColor()); }
/** * {@inheritDoc} */ public function getColor() { $this->__initializer__ && $this->__initializer__->__invoke($this, 'getColor', array()); return parent::getColor(); }