CommandTests CommandWithDragActionMock Method Delta Engine Documentation

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

public void CommandWithDragActionMock()
Examples

[Test]
public void CommandWithDragActionMock()
{
    var trigger = new MockTrigger();
    var commandName = RegisterCommand(trigger);
    new Command(commandName, delegate(Vector2D point, Vector2D dims, bool test)
        { actionPerformed = true; });
    AssertActionPerformed(trigger);
}
See Also