Class UnityHittableServiceSignalTests
PlayMode tests for UnityHittableService's signal dispatch on TakeHit. Uses the shared
RecordingEventDispatcherService to assert exact payloads without depending on a real
dispatcher implementation.
Inherited Members
Namespace: Serenity.UnityHittable.Tests.Infrastructure
Assembly: Tests.dll
Syntax
public class UnityHittableServiceSignalTests
Constructors
UnityHittableServiceSignalTests()
Declaration
public UnityHittableServiceSignalTests()
Methods
SetUp()
Declaration
public void SetUp()
TakeHit_AfterDestroyed_DispatchesNothing()
Declaration
public void TakeHit_AfterDestroyed_DispatchesNothing()
TakeHit_Damaging_DispatchesHittableHitSignal_WithPayload()
Declaration
public void TakeHit_Damaging_DispatchesHittableHitSignal_WithPayload()
TakeHit_Indestructible_DispatchesHittableHitSignal_WithRemainingHealthMinusOne()
Declaration
public void TakeHit_Indestructible_DispatchesHittableHitSignal_WithRemainingHealthMinusOne()
TakeHit_KillingBlow_DispatchesBothHitAndDestroyed_ExactlyOnce()
Declaration
public void TakeHit_KillingBlow_DispatchesBothHitAndDestroyed_ExactlyOnce()
TakeHit_NullDispatcher_DoesNotThrow()
Declaration
public void TakeHit_NullDispatcher_DoesNotThrow()
TakeHit_UnknownId_DispatchesNothing()
Declaration
public void TakeHit_UnknownId_DispatchesNothing()
TearDown()
Declaration
public void TearDown()