Namespace Serenity.UnityGameMode.Tests.Infrastructure
Classes
GameModeMusicBinderComponentTests
Tests for GameModeMusicBinderComponent: entering a mapped game mode dispatches that mode's Signal Definition, entering an unmapped mode does nothing, and disabling unsubscribes.
UnityGameModeServiceTests
Tests for UnityGameModeService, the MonoBehaviour that owns the Menu/Game/Pause state
machine. The service is driven through AddComponent with spy ports (pause strategy, event
dispatcher) and a real settings ScriptableObject. Only the synchronous, scene-free surface is
exercised: mode-state transitions, the Game↔Pause flow, pause-strategy coordination and signal
dispatch. Additive scene loading/unloading, input-action binding and the loading overlay run through
coroutines and real scenes and are intentionally out of scope here.