code: def test_pad_dense_data(
      incoming_data: FeatureArray, expected_shape: np.ndarray
  ):
      padded_data = RasaDataGenerator._pad_dense_data(incoming_data)
  
      assert padded_data.shape == expected_shape
  
file_path: rasa/tests/utils/tensorflow/test_data_generator.py
imports: import pytest
  import scipy.sparse
  import numpy
  from rasa.utils.tensorflow.model_data import ragged_array_to_ndarray, FeatureArray, RasaModelData
  from rasa.utils.tensorflow.data_generator import RasaDataGenerator, RasaBatchDataGenerator
label_desc: Use image node_id 3 for calling a global function with example usage: test_pad_dense_data(incoming_data, expected_shape) without return types