code: def testInvokeTFLiteRewriterQuantizationFullIntegerFailsNoData(
      self, converter, model
  ):
      class ModelMock:
          pass
  
      m = ModelMock()
      model.return_value = m
      n = self.ConverterMock()
      converter.return_value = n
  
      with self.assertRaises(ValueError):
          _ = tflite_rewriter.TFLiteRewriter(
              name="myrw",
              filename="fname",
              quantization_optimizations=[tf.lite.Optimize.DEFAULT],
              quantization_enable_full_integer=True,
          )
  
file_path: tfx/tfx/components/trainer/rewriting/tflite_rewriter_test.py
imports: import os
  import tempfile
  from unittest import mock
  import numpy
  import tensorflow
  from tfx.components.trainer.rewriting import rewriter
  from tfx.components.trainer.rewriting import tflite_rewriter
  from tfx.dsl.io import fileio
label_desc: Use image node_id 6 for calling the TFLiteRewriterTest obj's underlying member method code with example usage: obj.testInvokeTFLiteRewriterQuantizationFullIntegerFailsNoData(converter, model) without return types