title: Usages of doThrow() doAnswer() doNothing() and doReturn() in mockito
body: <p>I was learning mockito and I understood the basic usages of the above mentioned functions from the <a href="https://static.javadoc.io/org.mockito/mockito-core/2.8.9/org/mockito/Mockito.html#12" rel="noreferrer">link</a>.</p>
  
  <p>But I would like to know whether it can be used for any other cases?</p>