public void GetUriReturnsContainerUrl() { var objId = Guid.NewGuid().ToString(); var azureBlobContainer = new AzureBlobContainer <string>( account, AzureBlobTestContainer); Assert.AreEqual($"http://127.0.0.1:10000/devstoreaccount1/{AzureBlobTestContainer}/{objId}", azureBlobContainer.GetUri(objId).ToString()); }
public void GetUriThrows() { var surveyStorage = new AzureBlobContainer <Survey>(account, SurveyContainer); Assert.IsTrue(surveyStorage.GetUri("id").ToString().EndsWith("/surveyfortest/id")); }