public void ConditionMatched()
 {
     var resolver = new TestResolver();
     var input = resolver.Resolve<InputCommands>();
     var trigger = new MouseMovementTrigger();
     Assert.False(trigger.ConditionMatched(input));
     var mouse = resolver.Resolve<Mouse>();
     mouse.SetPosition(Point.Zero);
     Assert.True(trigger.ConditionMatched(input));
 }
 public void ConditionMatchedWithoutMouse(Type resolver)
 {
     Start(resolver, (InputCommands input) =>
     {
         var trigger = new MouseMovementTrigger();
         Assert.False(trigger.ConditionMatched(input));
     });
 }