Verify void method invocation using Mockito
Preconditions (2)
Step 1: Create a mock of the class containing the void method
Step 2: Stub the void method to do nothing or throw an exception if needed
Step 3: Call the void method on the mock object
Step 4: Verify that the void method was called exactly once
✅ Expected Result: The void method is successfully mocked and verified to be called once without errors