def test_valid_configuration_with_chunking(self):
        """Test creating config with chunking and valid patch_method."""
        for patch_method in ['simple', 'frcnn', 'dino-v1', 'dino-v2', 'marqo-yolo']:
            with self.subTest(patch_method=patch_method):
                config = ImagePreprocessingConfig(
                    should_chunk=True,
                    patch_method=patch_method
                )
                self.assertTrue(config.should_chunk)
                self.assertEqual(config.patch_method, patch_method)
Test creating config with chunking and valid patch_method.
tests/unit_tests/marqo/core/inference/api/test_preprocessing_config.py