given(baseRobot.retrieveMouse()).willReturn(sourcePoint);
// and:
Point2D targetPoint = new Point2D(10, 0);
Point2D movedTargetPoint = new Point2D(20, 0);
PointQuery pointQuery = mock(PointQuery.class);
given(pointQuery.query()).willReturn(targetPoint, movedTargetPoint);
// when:
moveRobot.moveTo(pointQuery);
// then: