SDIn Section 'Stubbing a Void Method -> Calling the Real Implementation', I think the last comment is wrong where it says the test will pass when the exception is thrown. Maybe a copy paste issue?Comment·Article·Apr 6, 2025·Mockito Cheatsheet