code: def test_sample_data_validations(self, mock_is_jumpstart_model):
      builder = ModelBuilder(
          model=mock_model_id,
          schema_builder=mock_schema_builder_invalid,
          mode=Mode.LOCAL_CONTAINER,
          model_server=ModelServer.DJL_SERVING,
      )
  
      with self.assertRaises(ValueError) as _:
          builder.build()
  
imports: from __future__ import absolute_import
  from unittest.mock import MagicMock, patch
  import unittest
  from sagemaker.serve.builder.model_builder import ModelBuilder
  from sagemaker.serve.utils.types import _DjlEngine
  from sagemaker.serve.mode.function_pointers import Mode
  from sagemaker.serve import ModelServer
  from sagemaker.djl_inference.model import DeepSpeedModel, FasterTransformerModel, HuggingFaceAccelerateModel
  from sagemaker.serve.utils.exceptions import LocalDeepPingException, LocalModelLoadException, LocalModelOutOfMemoryException, LocalModelInvocationException
  from sagemaker.serve.utils.predictors import DjlLocalModePredictor
label_desc: Use image node_id 9 for calling the TestDjlBuilder obj's underlying member method code with example usage: obj.test_sample_data_validations(mock_is_jumpstart_model) without return types