EntitiesRunnerTests NonPauseableUpdateBehaviorAlwaysRuns Method Delta Engine Documentation

Namespace: DeltaEngine.Tests.Entities
Assembly: DeltaEngine.Tests (in DeltaEngine.Tests.dll) Version: 1.1.1.0 (1.1.1)
Syntax

public void NonPauseableUpdateBehaviorAlwaysRuns()
Examples

[Test]
public void NonPauseableUpdateBehaviorAlwaysRuns()
{
    VerifyEntityWasUpdated(
        (VerifiableUpdate)new MockEntity().Start<MockNonPauseableUpdateBehavior>(),
        () => entities.RunEntities());
    var entity = new MockEntity().Start<MockNonPauseableUpdateBehavior>();
    VerifyEntityWasUpdated(
        (VerifiableUpdate)entity,
        () => entities.RunEntitiesPaused());
}
See Also