public function testSetSections() { $header = new Smtpapi\Header(); $header->setSections(array('set_section_key' => 'set_section_value')); $this->assertEquals($this->t['set_sections'], $header->jsonString()); }