public function testInstantiation() { $response = new Ok('test content', ['Content-Type' => 'application/json']); $this->assertEquals(200, $response->getStatusCode()); $this->assertEquals('test content', $response->getContent()); $this->assertEquals('application/json', $response->headers->get('content-type')); }