Exemplo n.º 1
0
        public void WithBucket_throws_argument_exception_for_invalid_args()
        {
            var config = new ClusterOptions();

            Assert.Throws <ArgumentException>(() => config.Bucket());
            Assert.Throws <ArgumentException>(() => config.Bucket(null));
            Assert.Throws <ArgumentException>(() => config.Bucket(new string[0]));
        }