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');
     phpillowStreamConnection::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 testCreateNonDefaultStreamInstance()
 {
     phpillowStreamConnection::createInstance('example.com', '80');
     $instance = phpillowConnection::getInstance();
     $this->assertTrue($instance instanceof phpillowStreamConnection);
 }