How do you write first responder unit tests?
I\'m trying to write a test to confirm that a method advances focus to the next text field. controller is a
controller
You need to ensure the textField is installed in the view hierarchy.
If the view’s window property holds a UIWindow object, it has been installed in a view hierarchy; if it returns nil, the view is detached from any hierarchy.
Hopefully this helps....