Namespace Serenity.UnitySoundMixer.Tests.Infrastructure
Classes
UnitySoundMixerServiceFactoryTests
Tests for UnitySoundMixerServiceFactory.
Validates the factory contract: it creates a GameObject-backed
UnitySoundMixerService, names it, and wires the event dispatcher. The settings'
AudioMixer is null (a real mixer asset cannot be authored in tests); the service's log dependency
is unset at construction so the null-mixer path is a silent no-op, keeping the factory test clean.
UnitySoundMixerServiceTests
PlayMode/EditMode tests for UnitySoundMixerService.
The service is a MonoBehaviour driving a real UnityEngine.Audio.AudioMixer. A real .mixer asset
cannot be authored or constructed here, so these tests exercise the parts that do NOT require a
usable mixer: parameter/dependency wiring, the null/unusable-mixer guard branches (which short-
circuit before touching the mixer), and the event-dispatcher subscription wiring.