Component - ViewModel testing
This UI component shows a simple screen that uses a ViewModel to manage a counter value. The ViewModel holds the counter state and exposes functions to increase it. The UI observes the ViewModel state and updates the displayed number. Testing the ViewModel means checking that the counter logic works correctly without the UI.