public function testGetSingleDocumentFromDatabase()
{
$db = new HTTP\SocketClient();
$db->request('PUT', '/' . $this->getTestDatabase() . '/123', '{"_id":"123","data":"Foo"}');
$response = $db->request('GET', '/' . $this->getTestDatabase() . '/123');
$this->assertTrue($response instanceof HTTP\Response);
$this->assertSame('123', $response->body['_id']);
$this->assertTrue(isset($response->body['_id']));
$this->assertFalse(isset($response->body['unknownProperty']));
}