Class SignalReactionComponentTests
Tests for Serenity.EventDispatcher.Infrastructure.Components.SignalReactionComponent: it subscribes a configured reaction to the dispatcher
resolved from the Serenity.Global.Application.Services.ServiceLocatorBridge, invokes the reaction's UnityEvent when a signal
of the selected type is dispatched, ignores other signal types, and unsubscribes when disabled.
Inherited Members
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()