lithium\tests\cases\action\ResponseTest::testResponseRenderString PHP Method

testResponseRenderString() public method

    public function testResponseRenderString()
    {
        $this->response->body = 'Document body';
        ob_start();
        $this->response->render();
        $result = ob_get_clean();
        $this->assertIdentical('Document body', $result);
        $this->assertIdentical(array('HTTP/1.1 200 OK'), $this->response->testHeaders);
    }