/**
  * Test on the send mail with sendAt
  */
 public function testSendMailWithSendAt()
 {
     $this->sendGridMailer->setSendAt(new \DateTime());
     $this->sendGridMailer->prepare('*****@*****.**', 'fromTestWithSendAt', ['*****@*****.**'], 'test subject with sendAt', 'test body with sendAt')->send();
     \Phake::verify($this->sendGrid)->send(\Phake::anyParameters());
 }
 /**
  * Test the failed on the send mail
  */
 public function testFailedSendMail()
 {
     $result = $this->sendGridMailer->send();
     $this->assertFalse($result);
 }