namespace CommanderApp.Services; public class MockKeyboardService : IKeyboardService { public event EventHandler KeyPressed; public void SetupKeyboardHandling(ContentPage page) { // Mock implementation - does nothing } // Method to simulate key presses in tests public void SimulateKeyPress(string key) { KeyPressed?.Invoke(this, new KeyPressedEventArgs { Key = key, Platform = "Test" }); } }