ListBuckets() public method

public ListBuckets ( ) : Couchbase.Management.Bucket[]
return Couchbase.Management.Bucket[]
 public void When_Listing_Buckets_With_Invalid_Config_Argument_Exception_Is_Thrown()
 {
     var config = new CouchbaseClientConfiguration();
     config.Urls.Add(new Uri(ConfigurationManager.AppSettings["CouchbaseServerUrl"] + "/doesnotexist/"));
     config.Bucket = "default";
     var server = new CouchbaseCluster(config);
     var buckets = server.ListBuckets();
 }
 public void When_Listing_Buckets_With_Invalid_Config_Argument_Exception_Is_Thrown()
 {
     var config = new CouchbaseClientConfiguration();
     config.Urls.Add(new Uri("http://localhost:8091/doesnotexist/"));
     config.Bucket = "default";
     var server = new CouchbaseCluster(config);
     var buckets = server.ListBuckets();
 }