It would be very nice to have a method called assertExpectedException in JUnit. Syntax could be something like the following:
assertExpectedException(ExceptionType, myobject.mymethod());
Thursday, April 14, 2005
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment