public void ValidateInputTest([Range(-5, 10)] int input) { Assert.DoesNotThrow(() => CustomException.ValidateInput(input, 2)); }