public void WithBucket_throws_argument_exception_for_invalid_args() { var config = new ClusterOptions(); Assert.Throws <ArgumentException>(() => config.WithBucket()); Assert.Throws <ArgumentException>(() => config.WithBucket(null)); Assert.Throws <ArgumentException>(() => config.WithBucket(new string[0])); }