Test method behavior with null and empty inputs using @NullSource and @EmptySource
Preconditions (2)
Step 1: Create a parameterized test method using @NullSource and @EmptySource annotations
Step 2: Run the test method with null input from @NullSource
Step 3: Run the test method with empty string input from @EmptySource
Step 4: Verify that the method under test returns false for both null and empty string inputs
✅ Expected Result: The test method runs twice: once with null and once with empty string, and both times the assertion verifies the method returns false