public void Its_settings_are_set() { var settings = new BlobSecuritySettings(); var mediaStorageProvider = new FileStorageProvider(settings); Assert.That(mediaStorageProvider.Settings, Is.Not.Null); }
public void SetupTest() { _pathToFile = Daddy.GetWorkingFile(FileType.Txt); _settings = new BlobSecuritySettings(); _fileStorageProvider = new FileStorageProvider(_settings); _fakeBlobStorageHelper = new Mock<IBlobStorageHelper>(); _fileStorageProvider.UploadFile(_pathToFile, _fakeBlobStorageHelper.Object); }