PhlyTest\Http\MessageTraitTest::testGetHeaderLineReturnsHeaderValueAsCommaConcatenatedString PHP Метод

testGetHeaderLineReturnsHeaderValueAsCommaConcatenatedString() публичный Метод

    public function testGetHeaderLineReturnsHeaderValueAsCommaConcatenatedString()
    {
        $message = $this->message->withHeader('X-Foo', ['Foo', 'Bar']);
        $this->assertNotSame($this->message, $message);
        $this->assertEquals('Foo,Bar', $message->getHeaderLine('X-Foo'));
    }