PhlyTest\Conduit\Http\ResponseTest::testAddHeaderDoesNothingIfComplete PHP Метод

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

    public function testAddHeaderDoesNothingIfComplete()
    {
        $response = $this->response->end('foo');
        $response = $response->withAddedHeader('Content-Type', 'application/json');
        $this->assertFalse($response->hasHeader('Content-Type'));
    }