Test method with @NullAndEmptySource to handle null and empty strings
Preconditions (2)
Step 1: Create a parameterized test method annotated with @ParameterizedTest
Step 2: Add @NullAndEmptySource annotation to provide null and empty string inputs
Step 3: Inside the test method, receive a String parameter
Step 4: Assert that the input is either null or empty
Step 5: Run the test
✅ Expected Result: The test runs twice: once with null input and once with empty string input, both passing the assertion