/** * @dataProvider headersWithInjectionVectors */ public function testDoesNotAllowCRLFInjectionWhenCallingWithAddedHeader($name, $value) { $this->setExpectedException('InvalidArgumentException'); $this->message->withAddedHeader($name, $value); }