Neos\Flow\Tests\Unit\Http\ResponseTest::settingVersionHasExpectedImplications PHP Method

settingVersionHasExpectedImplications() public method

    public function settingVersionHasExpectedImplications()
    {
        $response = Response::createFromRaw(file_get_contents(__DIR__ . '/../Fixtures/RawResponse-1.txt'));
        $response->setVersion('HTTP/1.0');
        $this->assertEquals('HTTP/1.0', $response->getVersion());
        $this->assertStringStartsWith('HTTP/1.0', $response->getStatusLine());
    }
ResponseTest