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