docstr: Ensure all classes are represented in the data.
docstr_tok: ["Ensure","all","classes","are","represented","in","the","data","."]
code: def test_all_classes_represented(self):
      """Ensure all classes are represented in the data."""
      (_, y_train), (_, y_test) = test_utils.get_test_data(
          self.train_samples,
          self.test_samples,
          self.input_shape,
          self.num_classes,
      )
      self.assertEqual(len(np.unique(y_train)), self.num_classes)
      self.assertEqual(len(np.unique(y_test)), self.num_classes)
  
imports: import numpy
  from absl.testing import parameterized
  from keras.testing import test_case
  from keras.testing import test_utils
label_desc: Use image node_id 9 for calling the GetTestDataTest obj's underlying member method code with example usage: obj.test_all_classes_represented() without return types