public void SpinnerUpArrow_ShouldIncrementValue_mouseTests(int numberofClicks) { int initialValue = Spinner.SetValueTo5(); Assert.That(initialValue == 5); Spinner.ClickOnArrow("up", numberofClicks); int increasedValue = Spinner.GetValueFromSpinnerField(); Assert.That(increasedValue == initialValue + numberofClicks, "Up icon cannot increment value"); }