public function testDeleteUnknownDocumentFromDatabase()
{
$db = new HTTP\StreamClient();
$response = $db->request('DELETE', '/' . $this->getTestDatabase() . '/not_existant');
$this->assertTrue($response instanceof HTTP\ErrorResponse);
$this->assertSame(404, $response->status);
$this->assertSame(array('error' => 'not_found', 'reason' => 'no_db_file'), $response->body);
}