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