Verify that a method throws the correct exception type and its hierarchy
Preconditions (2)
Step 1: Call the method 'processData' with invalid input 'null'
Step 2: Catch the exception thrown
Step 3: Verify that the exception is an instance of IllegalArgumentException
Step 4: Verify that the exception is also an instance of RuntimeException
Step 5: Verify that the exception is not an instance of IOException
✅ Expected Result: The test confirms that the thrown exception is IllegalArgumentException and it correctly inherits from RuntimeException but not from IOException