logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class UnityAudioPlayerGatewayTests

    Tests for UnityAudioPlayerGateway, which routes audio requests to the registered IAudioPlayerService matching the input's service id. Uses a spy service to assert delegation without any audio engine or scene.

    Inheritance
    object
    UnityAudioPlayerGatewayTests
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: Serenity.UnityAudioPlayer.Tests.InterfaceAdapters
    Assembly: Tests.dll
    Syntax
    public class UnityAudioPlayerGatewayTests

    Constructors

    UnityAudioPlayerGatewayTests()

    Declaration
    public UnityAudioPlayerGatewayTests()

    Methods

    Gateway_ImplementsIAudioPlayerGateway()

    Declaration
    public void Gateway_ImplementsIAudioPlayerGateway()

    PauseAllClips_RoutesToService()

    Declaration
    public void PauseAllClips_RoutesToService()

    PauseAllClips_UnknownServiceId_Throws()

    Declaration
    public void PauseAllClips_UnknownServiceId_Throws()

    PlayClip_ForwardsInputUnchanged()

    Declaration
    public void PlayClip_ForwardsInputUnchanged()

    PlayClip_RoutesToServiceMatchingServiceId()

    Declaration
    public void PlayClip_RoutesToServiceMatchingServiceId()

    PlayClip_UnknownServiceId_Throws()

    Declaration
    public void PlayClip_UnknownServiceId_Throws()

    ResumeAllClips_RoutesToService()

    Declaration
    public void ResumeAllClips_RoutesToService()

    Routing_WithMultipleServices_SelectsCorrectOne()

    Declaration
    public void Routing_WithMultipleServices_SelectsCorrectOne()

    StopAllClips_RoutesToService()

    Declaration
    public void StopAllClips_RoutesToService()
    In this article
    © 2026 Serenity. All Rights Reserved