The complete source code for this article is included in the Source zipped file, which you can download here. The individual Java files are Catalog.java, CatalogAppTestSuite.java CatalogTest.java, MyTest.java, Product.Java, ProductNotFoundException.java, and ProductTest.java.
The JUnit Web site.
A directory of xUnit implementations for different technologies.
MockObjects: another approach to unit testing in Java.