How do I write a Mockito-based JUnit method to test this method adduser()? I tried writing one, but it’s failing with an error message saying exception is not handled. The error is displayed for: Assume addUser() method in business class never catches any exception and rethrowing is not done. TEST CASE METHOD : Here in the test class I am