NetBeans can create the basic test class for us:
Right click your Calculator
class in the <
The default class name should be OK. Set the rest of the options as follows:
{{/Labs/02/Diagrams/Create Tests Dialog}}
These are fairly typical settings for creating test classes.
Click <
>. The test class will be created, and opened.