1 | <?php |
||
6 | class NotModifiedTest extends TestCase |
||
7 | { |
||
8 | public function testInstantiation(): void |
||
9 | { |
||
10 | $response = new NotModified('http://conent-location', 'ofk48fh1ubuc', ['Content-Type' => 'application/json']); |
||
11 | |||
12 | $this->assertEquals(304, $response->getStatusCode()); |
||
13 | $this->assertEquals('http://conent-location', $response->headers->get('content-location')); |
||
14 | $this->assertEquals('ofk48fh1ubuc', $response->headers->get('etag')); |
||
15 | } |
||
16 | } |
||
17 |