@Test void UploadFileToBlob_NullBlob_IllegalArgumentException() { assertThrows( IllegalArgumentException.class, () -> azureStorageClient.uploadFileToBlob(testFile, null)); }
void uploadFileToBlob(File sourceFile, CloudBlockBlob blob) throws IOException, StorageException { Ensure.argIsNotNull(blob, "blob"); Ensure.fileExists(sourceFile, "sourceFile"); blob.uploadFromFile(sourceFile.getAbsolutePath()); }
AzureStorageClient { void uploadFileToBlob(File sourceFile, CloudBlockBlob blob) throws IOException, StorageException { Ensure.argIsNotNull(blob, "blob"); Ensure.fileExists(sourceFile, "sourceFile"); blob.uploadFromFile(sourceFile.getAbsolutePath()); } }
AzureStorageClient { void uploadFileToBlob(File sourceFile, CloudBlockBlob blob) throws IOException, StorageException { Ensure.argIsNotNull(blob, "blob"); Ensure.fileExists(sourceFile, "sourceFile"); blob.uploadFromFile(sourceFile.getAbsolutePath()); }  }
AzureStorageClient { void uploadFileToBlob(File sourceFile, CloudBlockBlob blob) throws IOException, StorageException { Ensure.argIsNotNull(blob, "blob"); Ensure.fileExists(sourceFile, "sourceFile"); blob.uploadFromFile(sourceFile.getAbsolutePath()); }   }
AzureStorageClient { void uploadFileToBlob(File sourceFile, CloudBlockBlob blob) throws IOException, StorageException { Ensure.argIsNotNull(blob, "blob"); Ensure.fileExists(sourceFile, "sourceFile"); blob.uploadFromFile(sourceFile.getAbsolutePath()); }    }