"""Mock enhancement service for testing."""

from typing import Dict, Any, Optional
from unittest.mock import MagicMock

from ..protocols import EnhancementServiceProtocol


def create_mock_enhancement_service() -> EnhancementServiceProtocol:
    """Create a mock enhancement service for testing."""
    mock_service = MagicMock(spec=EnhancementServiceProtocol)
    
    # Mock methods
    mock_service.enhance_transcription.return_value = {
        "status": "completed",
        "enhanced_text": "This is an enhanced mock transcription result.",
        "improvements": ["grammar", "punctuation", "clarity"]
    }
    mock_service.get_enhancement_status.return_value = "completed"
    
    return mock_service
