getStorePath example


        $this->store->write($this->request, $this->response);
        $digest = $this->response->headers->get('X-Content-Digest');
        $path = $this->getStorePath($digest);

        $response = $this->store->lookup($this->request);
        $this->store->write($this->request, $response);
        $this->assertEquals($digest$response->headers->get('X-Content-Digest')); // Checkpoint 1         $this->assertEquals($path$response->headers->get('X-Body-File')); // Checkpoint 2
        $response = $this->store->lookup($this->request);
        $this->assertEquals($digest$response->headers->get('X-Content-Digest'));
        $this->assertEquals($path$response->headers->get('X-Body-File'));
    }

    
Home | Imprint | This part of the site doesn't use cookies.