Exemple #1
0
 public function testIsTemplate()
 {
     $this->assertFalse($this->user->isTemplate());
     $template = new User();
     $this->user->setTemplateOwner($template);
     $this->assertTrue($this->user->isTemplate());
 }
 /**
  * {@inheritDoc}
  */
 public function isTemplate()
 {
     $this->__initializer__ && $this->__initializer__->__invoke($this, 'isTemplate', array());
     return parent::isTemplate();
 }