def test_valid_configuration_with_chunking(self):
        """Test configuration when chunking is enabled with chunk_config provided."""
        chunk_config = TextChunkConfig(
            split_length=100,
            split_overlap=10,
            split_method='word'
        )
        config = TextPreprocessingConfig(
            should_chunk=True,
            text_prefix="PREFIX",
            chunk_config=chunk_config
        )
        self.assertTrue(config.should_chunk)
        self.assertEqual(config.text_prefix, "PREFIX")
        self.assertEqual(config.chunk_config, chunk_config)
Test configuration when chunking is enabled with chunk_config provided.
tests/unit_tests/marqo/core/inference/api/test_preprocessing_config.py