コード例 #1
0
        public void WithBucket_throws_argument_exception_for_invalid_args()
        {
            var config = new ClusterOptions();

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