Ejemplo n.º 1
0
        public void Put_integration_test()
        {
            var fileSettings     = A.Fake <IFileSettings>();
            var containerBuilder = new ContainerBuilder();
            var azureModule      = new Azure.Module();

            azureModule.RegisterComponents(containerBuilder);
            var container            = containerBuilder.Build();
            var azureStorageProvider = new AzureStorageProvider(fileSettings, container.Resolve <IBlobStoreFactory>());

            azureStorageProvider.Put("test", "filename.txt", "test", "text/plain");
        }
Ejemplo n.º 2
0
 public void Put()
 {
     _azureStorageProvider.Put("path", "name", "");
 }