public void SetUpSampleData(string containerName, int numFiles, int fileLineCount, Identifiers allowedIdentifiers) { var provider = new BlobProvider(); var factory = new QuoteFileFactory(); for (var n = 0; n < numFiles; n++) { var fileName = "stock" + n.ToString() + ".txt"; var file = factory.CreateRandomFile(allowedIdentifiers, fileLineCount); provider.CreateBlob(containerName, fileName, file.ToString()); } }
public void CreateBlob_works_successfully() { var containerName = Guid.NewGuid().ToString().Replace("-", ""); var blobName = "Anthony"; var provider = new BlobProvider(); provider.CreateContainer(containerName); var data = "Ticky-tack foul!"; provider.CreateBlob(containerName, blobName, data); }