public void StorageProvider_BlobDelete_NoArgs_CatchesNullRefException() { StorageProviderDebug storageProvider = new StorageProviderDebug(); //ensure our test file doesnt already exist in the cloud storageProvider.DeleteBlob(); //Assert.IsTrue(storageProvider.DeleteFailed); }
public void StorageProvider_BlobDelete_FilePathArg_CatchesFileNotFoundException() { StorageProviderDebug storageProvider = new StorageProviderDebug(); //ensure our test file doesnt already exist in the cloud storageProvider.DeleteBlob("aFileThatDoesntExist"); Assert.IsTrue(storageProvider.DeleteFailed); }