def test_alias_fields(self):
        """Test that alias fields are correctly mapped."""
        data = {
            "shouldChunk": True,
            "textPrefix": "Sample Prefix",
            "chunkConfig": {
                "splitLength": 100,
                "splitOverlap": 10,
                "splitMethod": "word"
            }
        }
        config = TextPreprocessingConfig(**data)
        self.assertTrue(config.should_chunk)
        self.assertEqual(config.text_prefix, "Sample Prefix")
        self.assertIsNotNone(config.chunk_config)
        self.assertEqual(config.chunk_config, TextChunkConfig(
            split_length=100,
            split_overlap=10,
            split_method='word'
        ))
Test that alias fields are correctly mapped.
tests/unit_tests/marqo/core/inference/api/test_preprocessing_config.py