PhlyTest\Http\MessageTraitTest::testWithAddedHeaderRaisesExceptionForNonStringNonArrayValue PHP 메소드

testWithAddedHeaderRaisesExceptionForNonStringNonArrayValue() 공개 메소드

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