EntitiesRunnerTests PrioritiesAreHandledCorrectlyForAnUpdateableEntityWithExtraBehaviors 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 PrioritiesAreHandledCorrectlyForAnUpdateableEntityWithExtraBehaviors()
Examples

[Test]
public void PrioritiesAreHandledCorrectlyForAnUpdateableEntityWithExtraBehaviors()
{
    var entity = new UpdateableEntityWithBehaviors();
    Assert.IsTrue(entity.IsPauseable);
    entities.RunEntities();
    entity.Set("");
    entities.RunEntities();
    Assert.AreEqual("[HighPriorityUpdate][LowPriorityBehavior]", entity.Get<string>());
}
See Also