EntityTests GettingComponentThatDoesNotExistFails 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 GettingComponentThatDoesNotExistFails()
Examples

[Test]
public void GettingComponentThatDoesNotExistFails()
{
    Assert.Throws<Entity.ComponentNotFound>(() => entityWithTags.Get<Vector2D>());
}
See Also