Verify structured JUnit test clarity with setup, test, and teardown
Preconditions (2)
Step 1: Create a test class named CalculatorTest
Step 2: Add a method annotated with @BeforeEach to initialize Calculator instance
Step 3: Add a test method annotated with @Test to verify add(2, 3) returns 5
Step 4: Add a method annotated with @AfterEach to clean up resources
Step 5: Run the test class
✅ Expected Result: Test runs successfully with clear structure: setup, test, teardown. Assertion passes confirming add method works.