Azure.Storage.Tests.BlobStorageTests.GetBlobsInContainerSucceeds C# (CSharp) Method

GetBlobsInContainerSucceeds() private method

private GetBlobsInContainerSucceeds ( ) : void
return void
        public void GetBlobsInContainerSucceeds()
        {
            const string stringBlob1 = "blob1";
            const string stringBlob2 = "blob2";
            const string originalValue = "Hello World";
            blobStorage.CreateBlockBlob(stringBlob1, "text/plain", originalValue);
            blobStorage.CreateBlockBlob(stringBlob2, "text/plain", originalValue);
            var result = blobStorage.ListBlobsInContainer().ToList();

            Assert.NotNull(result);
            Assert.NotEmpty(result);
            Assert.True(result.Count > 0);
        }