public function testWithAddedHeaderRaisesExceptionForNonStringNonArrayValue($value) { $this->setExpectedException('InvalidArgumentException', 'must be a string'); $message = $this->message->withAddedHeader('X-Foo', $value); }