/**
  * {@inheritDoc}
  */
 public function getEmail()
 {
     $this->__initializer__ && $this->__initializer__->__invoke($this, 'getEmail', array());
     return parent::getEmail();
 }
Exemplo n.º 2
0
 /**
  * @covers Core\Entity\Teacher::setEmail
  * @covers Core\Entity\Teacher::getEmail
  */
 public function testSetGetEmail()
 {
     $email = "*****@*****.**";
     $this->teacher->setEmail($email);
     $this->assertEquals($email, $this->teacher->getEmail());
 }