Exemplo n.º 1
0
 public function testToWebFormatWithSetSendAt()
 {
     $email = new Email();
     $email->setSendAt(1409348513);
     $json = $email->toWebFormat();
     $xsmtpapi = json_decode($json["x-smtpapi"]);
     $this->assertEquals(1409348513, $xsmtpapi->send_at);
 }