code: def test_init_when_non_defaults_provided():
      data_capture_config = DataCaptureConfig(
          enable_capture=NON_DEFAULT_ENABLE_CAPTURE,
          sampling_percentage=NON_DEFAULT_SAMPLING_PERCENTAGE,
          destination_s3_uri=NON_DEFAULT_DESTINATION_S3_URI,
          kms_key_id=NON_DEFAULT_KMS_KEY_ID,
          csv_content_types=NON_DEFAULT_CSV_CONTENT_TYPES,
          json_content_types=NON_DEFAULT_JSON_CONTENT_TYPES,
      )
  
      assert (
          data_capture_config.enable_capture
          == NON_DEFAULT_ENABLE_CAPTURE
      )
      assert (
          data_capture_config.sampling_percentage
          == NON_DEFAULT_SAMPLING_PERCENTAGE
      )
      assert (
          data_capture_config.destination_s3_uri
          == NON_DEFAULT_DESTINATION_S3_URI
      )
      assert data_capture_config.kms_key_id == NON_DEFAULT_KMS_KEY_ID
      assert (
          data_capture_config.csv_content_types
          == NON_DEFAULT_CSV_CONTENT_TYPES
      )
      assert (
          data_capture_config.json_content_types
          == NON_DEFAULT_JSON_CONTENT_TYPES
      )
  
imports: from __future__ import absolute_import
  from mock import Mock
  from sagemaker.model_monitor import DataCaptureConfig
label_desc: Use image node_id 1 for calling a global function with example usage: test_init_when_non_defaults_provided() without return types