public void ParseInvalideVolmeId()
        {
            var p = new VolumeIdProvider();

            Assert.Throws <Exception>(() => p.ParseVolumeId(""));
            Assert.Throws <Exception>(() => p.ParseVolumeId("azurefile://c1.Env2"));
            Assert.Throws <Exception>(() => p.ParseVolumeId("azurefile://c1/a"));
        }
        public void ParseVolmeId()
        {
            var p       = new VolumeIdProvider();
            var shareId = p.ParseVolumeId("azurefile://c1.Env2/d2");

            Assert.Equal("env2", shareId.AccountId.EnvironmentName);
            Assert.Equal("c1", shareId.AccountId.Name);
            Assert.Equal("d2", shareId.ShareName);
        }