@Test void UploadLocalFileToBlob_NullStorageUri_IllegalArgumentException() { assertThrows( IllegalArgumentException.class, () -> azureStorageClient.uploadLocalFileToBlob(testFilePath, "blobName", null, IngestionProperties.DATA_FORMAT.csv)); }
CloudBlockBlob uploadLocalFileToBlob(String filePath, String blobName, String storageUri, IngestionProperties.DATA_FORMAT dataFormat) throws URISyntaxException, StorageException, IOException { Ensure.fileExists(filePath); CompressionType sourceCompressionType = getCompression(filePath); return uploadLocalFileToBlob(filePath, blobName, storageUri, shouldCompress(sourceCompressionType, dataFormat.name())); }
AzureStorageClient { CloudBlockBlob uploadLocalFileToBlob(String filePath, String blobName, String storageUri, IngestionProperties.DATA_FORMAT dataFormat) throws URISyntaxException, StorageException, IOException { Ensure.fileExists(filePath); CompressionType sourceCompressionType = getCompression(filePath); return uploadLocalFileToBlob(filePath, blobName, storageUri, shouldCompress(sourceCompressionType, dataFormat.name())); } }
AzureStorageClient { CloudBlockBlob uploadLocalFileToBlob(String filePath, String blobName, String storageUri, IngestionProperties.DATA_FORMAT dataFormat) throws URISyntaxException, StorageException, IOException { Ensure.fileExists(filePath); CompressionType sourceCompressionType = getCompression(filePath); return uploadLocalFileToBlob(filePath, blobName, storageUri, shouldCompress(sourceCompressionType, dataFormat.name())); }  }
AzureStorageClient { CloudBlockBlob uploadLocalFileToBlob(String filePath, String blobName, String storageUri, IngestionProperties.DATA_FORMAT dataFormat) throws URISyntaxException, StorageException, IOException { Ensure.fileExists(filePath); CompressionType sourceCompressionType = getCompression(filePath); return uploadLocalFileToBlob(filePath, blobName, storageUri, shouldCompress(sourceCompressionType, dataFormat.name())); }   }
AzureStorageClient { CloudBlockBlob uploadLocalFileToBlob(String filePath, String blobName, String storageUri, IngestionProperties.DATA_FORMAT dataFormat) throws URISyntaxException, StorageException, IOException { Ensure.fileExists(filePath); CompressionType sourceCompressionType = getCompression(filePath); return uploadLocalFileToBlob(filePath, blobName, storageUri, shouldCompress(sourceCompressionType, dataFormat.name())); }    }