fkooman\RemoteStorage\RemoteStorageServiceTest::testGetNonExistingDocument PHP Метод

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

    public function testGetNonExistingDocument()
    {
        $request = $this->getGetRequest('/admin/foo/bar/baz.txt');
        $response = $this->r->run($request);
        $this->assertSame(array('HTTP/1.1 404 Not Found', 'Content-Type: application/json', 'Content-Length: 61', 'Access-Control-Allow-Origin: *', 'Access-Control-Expose-Headers: ETag, Content-Length', 'Expires: 0', 'Cache-Control: no-cache', '', '{"error":"document \\"\\/admin\\/foo\\/bar\\/baz.txt\\" not found"}'), $response->toArray());
    }