Test Overview
This test demonstrates how to use doReturn to mock a method's return value and doThrow to simulate an exception in JUnit with Mockito. It verifies correct behavior when the mocked method returns a value and when it throws an exception.