/** * {@inheritDoc} */ public function getParents() { $this->__initializer__ && $this->__initializer__->__invoke($this, 'getParents', array()); return parent::getParents(); }
public function testRoleInitialState() { $user = new Role(); $this->assertNull($user->getId(), '"id" should initially be null'); $this->assertNull($user->getName(), '"name" should initially be null'); }