public function testToWebFormatWithAddSendEachAt() { $email = new Email(); $email->addSendEachAt(1409348513); $email->addSendEachAt(1409348514); $json = $email->toWebFormat(); $xsmtpapi = json_decode($json["x-smtpapi"]); $this->assertEquals(array(1409348513, 1409348514), $xsmtpapi->send_each_at); }