コード例 #1
0
ファイル: MessageTest.php プロジェクト: talesoft/tale-http
 /**
  * @dataProvider headersWithInjectionVectors
  */
 public function testDoesNotAllowCRLFInjectionWhenCallingWithAddedHeader($name, $value)
 {
     $this->setExpectedException('InvalidArgumentException');
     $this->message->withAddedHeader($name, $value);
 }