/** * Test getter/setter for created property */ public function testCreated() { $this->assertEmpty($this->group->getCreated()); // Change value and assert new $newCreated = new \Datetime(); $this->assertEntity($this->group->setCreated($newCreated)); $this->assertEquals($newCreated, $this->group->getCreated()); }
/** * {@inheritDoc} */ public function getCreated() { $this->__initializer__ && $this->__initializer__->__invoke($this, 'getCreated', array()); return parent::getCreated(); }