### Question:
AzureStorageClient { void azureTableInsertEntity(String tableUri, TableServiceEntity entity) throws StorageException, URISyntaxException { Ensure.stringIsNotBlank(tableUri, "tableUri"); Ensure.argIsNotNull(entity, "entity"); CloudTable table = new CloudTable(new URI(tableUri)); TableOperation insert = TableOperation.insert(entity); table.execute(insert); }    }### Answer:
@Test void PostMessageToQueue_NullTableUri_IllegalArgumentException() { TableServiceEntity serviceEntity = new TableServiceEntity(); assertThrows( IllegalArgumentException.class, () -> azureStorageClient.azureTableInsertEntity(null, serviceEntity)); }
@Test void PostMessageToQueue_NullEntity_IllegalArgumentException() { assertThrows( IllegalArgumentException.class, () -> azureStorageClient.azureTableInsertEntity("tableUri", null)); }