Verify assertNull and assertNotNull behavior in JUnit
Preconditions (2)
Step 1: Call a method that returns null
Step 2: Use assertNull to verify the returned value is null
Step 3: Call a method that returns a non-null object
Step 4: Use assertNotNull to verify the returned value is not null
✅ Expected Result: assertNull passes when the value is null, assertNotNull passes when the value is not null