This JUnit test is failing because my code returns “false” instead of “true.”
Isn’t the JUnit test failing because the
hasApplicationNumber(1)
throws?
At this point, the easiest way to unconfuse yourself is to add a few print statements into the test code.
System.out.println("After test for throw );
etc.