An example of throwing an exception in Mockito