public function testSetIpPool() { $header = new Smtpapi\Header(); $header->setIpPool('foo'); $this->assertEquals($this->t['set_ip_pool'], $header->jsonString()); }
public function testSetFilters() { $header = new Smtpapi\Header(); $filter = array('footer' => array('setting' => array('enable' => 1, "text/plain" => 'You can haz footers!'))); $header->setFilters($filter); $this->assertEquals($this->t['set_filters'], $header->jsonString()); }