Suppose we have some validation in our ViewController ( say vc1 ) for a UItextfield in shouldChangeCharactersInRange method, as user only can enter the numbers not the alphabets or other special character.
I just want to know that in our XCTestCase class, is this possible in unit testing, to check for a particular uitextfield, is allowing some characters (in my case only numbers) or not?