Navigate to the project properties page. Add a test package folder to correspond to the source folder; name it test:
Click OK to save the changes, then click File ▶ New File… from NetBeans’ main menu to open the New File dialog box:
Select Unit Tests from the list of categories, then select Test for Existing Class from the list of file types. Click the Next button. You’ll see the rather busy New Test for Existing Class dialog box.
Enter the name of the class to test as iloveyouboss.ScoreCollection (or let NetBeans fill in the name by selecting ...