logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class SignalReactionComponentTests

    Tests for SignalReactionComponent: it subscribes a configured reaction to the dispatcher resolved from the ServiceLocatorBridge, invokes the reaction's UnityEvent when a signal of the selected type is dispatched, ignores other signal types, and unsubscribes when disabled.

    Inheritance
    object
    SignalReactionComponentTests
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: Serenity.EventDispatcher.Tests.Infrastructure
    Assembly: Tests.dll
    Syntax
    public class SignalReactionComponentTests

    Constructors

    SignalReactionComponentTests()

    Declaration
    public SignalReactionComponentTests()

    Methods

    Disable_UnsubscribesReaction()

    Declaration
    public void Disable_UnsubscribesReaction()

    Dispatch_DifferentSignalType_DoesNotInvokeResponse()

    Declaration
    public void Dispatch_DifferentSignalType_DoesNotInvokeResponse()

    Dispatch_MatchingSignal_InvokesResponse()

    Declaration
    public void Dispatch_MatchingSignal_InvokesResponse()

    TearDown()

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