/** * @group ZF-5209 */ public function testCheckingHasHeaderFunctionality() { $message = new Message(array('headers' => array('subject' => 'foo'))); $this->assertTrue($message->headerExists('subject')); $this->assertTrue(isset($message->subject)); $this->assertTrue($message->headerExists('SuBject')); $this->assertTrue(isset($message->suBjeCt)); $this->assertFalse($message->headerExists('From')); }