Esempio n. 1
0
 public function testToWebFormatWithSetSendEachAt()
 {
     $email = new \SendGrid\Email();
     $email->setSendEachAt([1409348513, 1409348514]);
     $json = $email->toWebFormat();
     $xsmtpapi = json_decode($json['x-smtpapi']);
     $this->assertEquals([1409348513, 1409348514], $xsmtpapi->send_each_at);
 }