public void TestMoveTo() { using (var mouse = new WindowMessageMouse(new TestMouseMessageSource())) { MouseState state = mouse.GetState(); mouse.MoveTo(state.X, state.Y); } }
public void TestName() { using (var mouse = new WindowMessageMouse(new TestMouseMessageSource())) { StringAssert.Contains("mouse", mouse.Name.ToLower()); } }
public void TestIsAttached() { using (var mouse = new WindowMessageMouse(new TestMouseMessageSource())) { Assert.IsTrue(mouse.IsAttached); } }