JUnit test exception handling failI just found this peace of code in a big java project i’m working ...English Read More
Testing that a method throws an exceptionIn Java with JUnit 3 public void testIndexOutOfBounds() { try { new ArrayList().get(0); fail("Should ...English Read More