コード例 #1
0
        public void InvalidBucketNames(string bucket)
        {
            var exception = Assert.ThrowsAny <ArgumentException>(() => StorageClientImpl.ValidateBucketName(bucket));

            Assert.Equal("bucket", exception.ParamName);
            Assert.Contains(bucket, exception.Message);
        }
コード例 #2
0
 public void ValidBucketNames(string bucket)
 {
     StorageClientImpl.ValidateBucketName(bucket);
 }