I am using netbeans to write junit tests. How do I get the Junit test to provide the standard input (as if it came from the terminal) when the method being tested requires input to a Scanner.
The internet is completely useless on this issue, I have googled.
The internet is completely useless on this issue, I have googled.