public void InvalidBucketNames(string bucket) { var exception = Assert.ThrowsAny <ArgumentException>(() => StorageClientImpl.ValidateBucketName(bucket)); Assert.Equal("bucket", exception.ParamName); Assert.Contains(bucket, exception.Message); }
public void ValidBucketNames(string bucket) { StorageClientImpl.ValidateBucketName(bucket); }