/**
  * Close the connection
  *
  * @return bool
  */
 public function close()
 {
     return $this->mailer->close();
 }
 /**
  * @expectedException SimpleMailReceiver\Exceptions\SimpleMailReceiverException
  * @expectedExceptionMessage Error closing
  */
 public function testCloseException()
 {
     $this->mailer = new Mailserver(null, new \SimpleMailReceiver\Exceptions\ExceptionThrower());
     $this->mailer->close();
 }