...
For an example test case, look at HitPositionTest in the org.lcsim package. It illustrates a number of the concepts covered in this document.
Adding from Netbeans
To add a test case from Netbeans, expand the project navigation window to the "Test Sources" folder. Right-click on the package where the test case should be added. In this case, the base package area is used.