/**
  * @return string
  */
 public function bounceEmail()
 {
     if (!$this->bounceEmail) {
         return null;
     }
     return $this->bounceEmail->__toString();
 }
 /**
  * @test
  */
 function test_domain_returns_domain_part_of_email()
 {
     $email = new Email('*****@*****.**');
     $this->assertEquals('gmail.com', $email->getDomain());
 }
 /**
  * @return string
  */
 public function getEmailDomain()
 {
     return $this->emailAddress->getDomain();
 }