public function testCreateDatabase()
{
$db = new HTTP\SocketClient();
// Remove maybe existing database
try {
$db->request('DELETE', '/' . $this->getTestDatabase());
} catch (\Exception $e) {
/* Irrelevant exception */
}
$response = $db->request('PUT', '/' . $this->getTestDatabase());
$this->assertTrue($response instanceof HTTP\Response);
$this->assertSame(true, $response->body['ok']);
}