Neos\Flow\Tests\Unit\Http\ResponseTest::toStringAlwaysReturnsAStringRepresentationOfContent PHP 메소드

toStringAlwaysReturnsAStringRepresentationOfContent() 공개 메소드

public toStringAlwaysReturnsAStringRepresentationOfContent ( $content, $expectedString )
    public function toStringAlwaysReturnsAStringRepresentationOfContent($content, $expectedString)
    {
        $response = new Response();
        $response->setContent($content);
        $this->assertSame($expectedString, (string) $response);
    }
ResponseTest