Ejemplo n.º 1
0
 /**
  * @test
  */
 public function addTwoHeadersAndGetBoth()
 {
     $this->subject->addHeader('123: foo.');
     $this->subject->addHeader('123: bar.');
     self::assertSame(array('123: foo.', '123: bar.'), $this->subject->getAllAddedHeaders());
 }
Ejemplo n.º 2
0
 /**
  * @test
  */
 public function existsSeminarMessageForExistingUidNotSendsHttpHeader()
 {
     $this->fixture->existsSeminarMessage($this->seminarUid);
     self::assertSame(array(), $this->headerCollector->getAllAddedHeaders());
 }