public function testGetDocumentFromNotExistentDatabase()
 {
     $this->markTestSkipped('It is currently not possible to detect from the CouchDB response, see: https://issues.apache.org/jira/browse/COUCHDB-41');
     phpillowCustomConnection::createInstance();
     phpillowConnection::setDatabase('test');
     $db = phpillowConnection::getInstance();
     try {
         $response = $db->delete('/test');
     } catch (phpillowResponseErrorException $e) {
         /* Ignore */
     }
     try {
         $response = $db->get('/test/not_existent');
         $this->fail('Expected phpillowDatabaseNotFoundErrorException.');
     } catch (phpillowDatabaseNotFoundErrorException $e) {
         /* Expected exception */
     }
 }
 public function testInvalidPath()
 {
     phpillowCustomConnection::createInstance();
     $db = phpillowConnection::getInstance();
     try {
         $response = $db->get('irrelevant');
         $this->fail('Expected phpillowInvalidRequestException.');
     } catch (phpillowInvalidRequestException $e) {
         /* Expected exception */
     }
 }