Exemple #1
-1
 public function testToWebFormatWithSetSendAt()
 {
     $email = new \SendGrid\Email();
     $email->setSendAt(1409348513);
     $json = $email->toWebFormat();
     $xsmtpapi = json_decode($json['x-smtpapi']);
     $this->assertEquals(1409348513, $xsmtpapi->send_at);
 }