public function testDatabaseExists() { $exist = $this->client->databaseExists(); $this->assertTrue($exist, "testing against an existing database"); $client = new couchClient($this->couch_server, "foofoofooidontexist"); $this->assertFalse($client->databaseExists(), "testing against a non-existing database"); }