### Question:
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())); }    }### Answer:
@Test void UploadLocalFileToBlob_NullFilePath_IllegalArgumentException() { assertThrows( IllegalArgumentException.class, () -> azureStorageClient.uploadLocalFileToBlob(null, "blobName", "storageUri", IngestionProperties.DATA_FORMAT.csv)); }
@Test void UploadLocalFileToBlob_NullBlobName_IllegalArgumentException() { assertThrows( IllegalArgumentException.class, () -> azureStorageClient.uploadLocalFileToBlob(testFilePath, null, "storageUri", IngestionProperties.DATA_FORMAT.csv)); }
@Test void UploadLocalFileToBlob_NullStorageUri_IllegalArgumentException() { assertThrows( IllegalArgumentException.class, () -> azureStorageClient.uploadLocalFileToBlob(testFilePath, "blobName", null, IngestionProperties.DATA_FORMAT.csv)); }
@Test void UploadLocalFileToBlob_FileDoesNotExist_IOException() { String notExistingFilePath = "not.existing.file.path"; assertThrows( IOException.class, () -> azureStorageClient.uploadLocalFileToBlob(notExistingFilePath, "blobName", "storageUri", IngestionProperties.DATA_FORMAT.csv)); }