public function testGetDatabaseInformation() { $db = new HTTP\SocketClient(); $response = $db->request('GET', '/'); $this->assertTrue($response instanceof HTTP\Response); $this->assertSame('Welcome', $response->body['couchdb']); }