public void CommandWithDragAction() { var trigger = new MockDragTrigger(); var CommandName = RegisterCommand(trigger); new Command(CommandName, delegate(Vector2D point, Vector2D dims, bool test) { actionPerformed = true; }); AssertActionPerformed(trigger); }
public void CommandWithDragAction() { var trigger = new MockDragTrigger(); var commandName = RegisterCommand(trigger); new Command(commandName, delegate(Vector2D point, Vector2D dims, bool test) { actionPerformed = true; }); AssertActionPerformed(trigger); }