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

[Test]
public void ResolvesCorrectEntityHandler()
{
    new MockEntity().Start<MockUpdateBehavior>();
    var behavior = EntitiesRunner.Current.GetUpdateBehavior<MockUpdateBehavior>();
    Assert.IsTrue(behavior.GetType() == typeof(MockUpdateBehavior));
}
See Also