Verify JUnit test execution and assertion
Preconditions (2)
Step 1: Create a simple Java class Calculator with a method add(int a, int b) that returns the sum
Step 2: Create a JUnit test class CalculatorTest
Step 3: Write a test method testAdd that calls add(2, 3)
Step 4: Use an assertion to verify the result is 5
Step 5: Run the test using JUnit
Step 6: Observe the test result
✅ Expected Result: The test passes successfully, confirming that JUnit runs the test and validates the assertion