JUnit Test(expected = BadPracticeException.class)
1–3 of 3 posts
Re: JUnit Test(expected = BadPracticeException.class)
#2still poor advice. should use http://junit.org/apidocs/org/junit/rules/ExpectedException.h...
Re: JUnit Test(expected = BadPracticeException.class)
#3still poor advice. should use http://junit.org/apidocs/org/junit/rules/ExpectedException.h...
Yep, ExpectedException rule is nice, added to the post. Thanks!